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.
This was an interesting problem with a good editorial and I learned a few things. However I really wish the test cases were not designed to take 90%-95% of the allowed runtime. I'd rather think about algorithms with decent asymptotic running times rather than optimize to save microseconds here and there.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Mehta and the Typical Supermarket
You are viewing a single comment's thread. Return to all comments →
This was an interesting problem with a good editorial and I learned a few things. However I really wish the test cases were not designed to take 90%-95% of the allowed runtime. I'd rather think about algorithms with decent asymptotic running times rather than optimize to save microseconds here and there.