Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The javascript version has now been solved over 1,100 times. I hope this issue is now resolved.
If it still exists, please open another issue, post your code (put a line of three backticks ``` before and after the code) and mark it as "having spoiler content".
Hi, apologies for the delay in responding. Please could you post your solution here? (and mark it as a spoiler). This sample output looks strange as there are multiple duplicate tests.
Thanks
This comment is hidden because it contains spoiler information about the solution
It seems javascript tests are not correct. My C++ code has passed all tests, but absolutely the same javascript code failed with better value:
Big number random tests
✔ Test Passed: Value == 2211
✔ Test Passed: Value == 2211
✔ Test Passed: Value == 804
✔ Test Passed: Value == 1809
✔ Test Passed: Value == 603
✔ Test Passed: Value == 603
✔ Test Passed: Value == 603
✔ Test Passed: Value == 3015
✘ Expected: 1005, instead got: 804
✘ Expected: 1005, instead got: 804