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.
How about random tests?
There's not much point in using TS if everything is
any
. The input should be something liketype NestedNumbers = (number | NestedNumbers)[]
.It's not really "cheating" if you only test the properties of sorting and not bubble sort in particular.
If you want to test bubble sorting is implemented correctly, you need to design tests that test specifically that.
It's my first one, how can i disable the built in higher order functions.