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.
Types updated.
done
Approved, thanks
number[]
is a list ofnumber
s of any length,[number, number]
is a tuple/pair of 2number
s. There's no distinct type for tuple in JS, so tuples are represented as arrays. So it's basically a more restricted array containing not any number of items but always 2.The item type should be
[number, number]
instead.approved
No response for 3 weeks so I'm assuming this is now sorted.
Errrr... Do you, by any chance... mutate the board in your solution ?
Not good practice, and it leads often to this type of troubles in the random tests. ;)