You are viewing a single comment's thread. Return to all comments →
Order in the array matters. The second 1 is AFTER the first 2 so you cannot use that 1 and then the 2.
See previous post: https://www.hackerrank.com/challenges/count-triplets-1/forum/comments/491583
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 →
Order in the array matters. The second 1 is AFTER the first 2 so you cannot use that 1 and then the 2.
See previous post: https://www.hackerrank.com/challenges/count-triplets-1/forum/comments/491583