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.
Truly amazing...
I spent 6 hours and got through all the test cases with O(n) and special treatment of r=1.
But I was nowhere near this simplicity.
Need to spend another few hours to understand it.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Count Triplets
You are viewing a single comment's thread. Return to all comments →
Truly amazing... I spent 6 hours and got through all the test cases with O(n) and special treatment of r=1. But I was nowhere near this simplicity. Need to spend another few hours to understand it.