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.
That one indian programmer's code u need to refactor:
💀
The array of IDs may have duplicates but don't need to find or remove them.
so, to make the IDs unique without removing or finding them, I passed the arrays to the set
This comment is hidden because it contains spoiler information about the solution
its valid code - but in all itterations your code "substract lives" true or false is it
No longer correct, just had an issue with that
I took this statement to mean that we should find a solution that does not require the removal (even the temporary removal) of duplicates:
It works, and it's creative and concise, but I agree. It obscures the intention, which is for lives to be lost as a result of guessing wrong.
Oh my gosh
copy is easist way