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.
You can also pass with square root decomposition, as the array is very large you do need to first reduce the array to the key indexes first (10e7 array to only 400k), should have used a bigger m to avoid this solution
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Array Manipulation
You are viewing a single comment's thread. Return to all comments →
You can also pass with square root decomposition, as the array is very large you do need to first reduce the array to the key indexes first (10e7 array to only 400k), should have used a bigger m to avoid this solution