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.
Space Complexity O(N) not bad
Your solution is correct, but fails on a minor part.
Read this for more info
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
this solution doesnt work
crazy, I cant even understand the code
This comment is hidden because it contains spoiler information about the solution
That may be the gist of the problem, but the problem states 'The string has a length greater or equal to one and contains only letters from a to z.' Adding extra error handling for other symbols and capital letters is not optimal as it's assumed this is already handled before the string is passed in.
Providing invalid characters to the input string is what the problem is all about
This comment is hidden because it contains spoiler information about the solution
Nicely done
Reraised above with more detail
Linke a Ninja
Could someone explain to me how did his code passed the "WiresOnlyMappedOnce" test?
Loading more items...