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.
Could you please explain how did you come up with this solution? I want to know the thought process. In some problems I'm finding it difficult to pass all the cases. Do you have any tips for 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 →
Could you please explain how did you come up with this solution? I want to know the thought process. In some problems I'm finding it difficult to pass all the cases. Do you have any tips for that?