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.
wow
Forgot you just assign the funcion to a variable! Nice!
Please use spoiler flag next time, your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
big nerd
One addition faster than the solution I came up with / joined. Smooth.
Brilliant!
This comment is hidden because it contains spoiler information about the solution
ChatGPT version if you ask it to do it in one line.
That is genius, thank you for the explanation!
Very nice
This comment is hidden because it contains spoiler information about the solution
It is great, but has O(n*m) time complexity. The optimal solution to this problem is -> O(n)
I think it's the easiest problem here:)
Loading more items...