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.
Which would be more efficent?
1.Sortedset + List
2.Hashset + List with sort() at the end before returning
Just wondering.
Same!I mean, the description is a little deceptive about that lol.
Edit: Then I realized you have to remove the duplicate .. oops?
For c# and some other similar language: The key should be of 'char' type instead of 'string' since there is only 1 letter.
Apparently this was because of try-catch statement. The "throw" has to be outside the statement, which should have been stated more clearly...
This comment is hidden because it contains spoiler information about the solution
For c#: Should the solution be cleaner if there is a way to enable and use unsafe code.
Can you add a way to run c#'s unsafe code? Apparently there is option to do that on codewars. Thanks.