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.
Thank you!
Use spoiler flag next time, please. Your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
just wow
O(n * m)
How?
i wanted to do this but couldnt figure the logic out. nice solution tho
this was my solution!
Pienso que tu solucion se podria mejorar haciendo una copia de a en vez de modificarla
This helped me as well. Thank you for the explanation. I ended scrapping the the use of splice() simply becuase i couldnt figure that out. ended up just deleting the element in the list using delete and using filter to filter out falsy values that were not === 0 till i got what was needed. This was helpful to understand though. Thanks again