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.
- Count Triplets
- Discussions
Count Triplets
Count Triplets
Sort by
recency
|
814 Discussions
|
Please Login in order to post a comment
This one was a doozy! Took me way longer then I'd care to admit. JS solution (forgive my nesting 😅):
Why is this failing hidden test case 6 :(
I came up with idea of moving forward and keeping a track of singles and doubles that have happened. This is passing all test cases except test case 6 :(
can someone please help me understand the problem with my code??
Recursive solution: