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.
i've never felt this stupid lol, nice one
nice
nice O(N)
ineffecient
yeah sorry ,missed the word consecutive
you should add a break in the nested loop to help with efficiency
This comment is hidden because it contains spoiler information about the solution
Good thing this task isn't about performance :D.
it will reduce overall time taken as some test cases have empty lists.the code will end after executing 1st return if list is empty
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
Exactly how I did it lol
This comment is hidden because it contains spoiler information about the solution
Loading more items...