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.
Thank you. I hadn't realized the arrays were not sorted (need to stop assuming things when it's not stated!)
After a point - I gave up on trying to look for, and keeping record of numbers...and start keeping track of sequences. That worked much better!
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 →
Thank you. I hadn't realized the arrays were not sorted (need to stop assuming things when it's not stated!) After a point - I gave up on trying to look for, and keeping record of numbers...and start keeping track of sequences. That worked much better!