You are viewing a single comment's thread. Return to all comments →
Instead of going through 100000, you can iterate until minimum element, which speeds up the process if the minimum element is very low.
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and GCD
You are viewing a single comment's thread. Return to all comments →
Instead of going through 100000, you can iterate until minimum element, which speeds up the process if the minimum element is very low.