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 log is clear: you must return
3
, your code returns81
.expected:<[2, 9, [3], 49, 4, 1]> but was:<[2, 9, [81], 49, 4, 1]>
Why can't there be 3 out of 9? and why should it get 81?
COBOL translation (author gone).
Approved.
This is a comment
The proposed Haskell translation removes this text.
JavaScript ( and Haskell ) do not test and are not vulnerable to input modification; I can't read other languages unfortunately.
Haskell translation
This translation removes "don't modify your input" from the description.
This:
Should either be tested (in all languages) or removed from the description (and check if it was tested in some language, remove those tests). Given it's an 8 kyu kata, I would choose the later.
You can now.
Try again, select version 8. Please read this too: https://docs.codewars.com/training/troubleshooting#post-discourse
This comment is hidden because it contains spoiler information about the solution
olaxa