We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Quite frustrating when one needs to use multiple languages just to beat the timer. It feels like the time constraint was not supplied adequately for each supported language.
E.g.: TS and JS timed out (with two arrays for heap and queue), then Java15 timed out (with one ArrayList), but python3 did it.
The logic was the same but only the latter beat the clock thanks to the built in heapify.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Jesse and Cookies
You are viewing a single comment's thread. Return to all comments →
Quite frustrating when one needs to use multiple languages just to beat the timer. It feels like the time constraint was not supplied adequately for each supported language.
E.g.: TS and JS timed out (with two arrays for heap and queue), then Java15 timed out (with one ArrayList), but python3 did it. The logic was the same but only the latter beat the clock thanks to the built in heapify.