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.
It really bugs me that all the examples are sorted but the problem description doesn't say that the array has to be sorted, and there's no human to ask if I'm allowed to assume that.
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 →
It really bugs me that all the examples are sorted but the problem description doesn't say that the array has to be sorted, and there's no human to ask if I'm allowed to assume that.