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.
but im not expecting the value to check to be in the array, i find the index of the first element in the array which the value to search for is less than. the 1st solution should work.
edit- unless the 2 remaining cases should be at end of arr. in which case I am an idiot. Will check when on pc later
This comment is hidden because it contains spoiler information about the solution