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.
This comment is hidden because it contains spoiler information about the solution
so get the thing, in this case an array at the ith index, and then since we know it is an array, just get the 0th index
in other words to match our example
I realize this is a year later but i figured i could still answer.
TIL that lastIndexOf exists and I've looked at the String API dozens of times haha