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
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Ah, it's in TypeScript. Not sure how to edit my previous comment.
Kata says arrays are guaranteed to have more than three strings (AKA four or more strings), but test arrays are given with three strings.
This comment is hidden because it contains spoiler information about the solution
Nice to see a similar solution to my own!
What's the big O of this? Is it n2? I'm still unsure of the runtimes of list comprehensions.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I'm having the same problem! It feels so close and so far. I also have a nested for-loop which I'm assuming is the problem, but I can't figure out what to replace it with.