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.
- All Contests
- HourRank 19
- Recover the Arrays
- Discussions
Recover the Arrays
Recover the Arrays
Sort by
recency
|
34 Discussions
|
Please Login in order to post a comment
Hi guys, this was my first chalange in hackerrank and I cannot understand the results, could you help me? That's my code:
I've only made the console.log part, the rest was the chalange boilerplate for JS.
Well, this works for me and a lot of test cases, the #4 seens to be wrong, but I've reproduce here in my computer and get the right result (1001)! Some other tests have been aborted... Someone could point my error or explain why this code fail the tests?
Thanks!! Renan
php solution