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.
Well done, good DSA problem on string manipulation anyway
Nice kata, thanks.
Thanks for this kata!
Really enjoyed the simplicity of the challenge — it lets you focus purely on the logic without extra noise.
I went with a Set-based solution to keep lookups clean and efficient, and it felt satisfying to solve it in a straightforward way.
Great little exercise to warm up the brain — appreciate it!
no 'tie' cases in random.. :-/
approved
Added for all other languages (JavaScript, Python, Ruby).
In JS, it is not pointless - it means you can use
^instead of!==if you wish.The second paragraph of the description is pointless and should be removed.
Loading more items...