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 solution is great, but you should strip off leading bits that are the same, not just leading 1's, otherwise the "leading 1" set of values could be empty.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Yet Another Minimax Problem
You are viewing a single comment's thread. Return to all comments →
This solution is great, but you should strip off leading bits that are the same, not just leading
1
's, otherwise the "leading1
" set of values could be empty.