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.
No,
Array.prototype.flat
requires node 11, this kata only supports up to node 10.There is no
k
butp
. We don't know which language you're using so it's impossible to know exactly, but in some of them, the logs only displays what you returned and what you should have returned (your_answer should be correct_answer
).r is a list. If this list if not empty (ie len(r) > 0) then return first element (r[0]). It not then return integer -1