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.
How it works? In test I saw string like "Hello world !". And there was notice to ignore punctuation characters, but this silution doesn't ignore them and returns "elloHay orldway !ay". I think it's incorrect.
Just try to use this phrase and see what happens: Hello!!?? World...
The tests don't have a punctuation scenario in them. That's why it passed. Maybe the Kata should be updated to have punctuation?
I think we should care both below cases:
What do you think?
Use spoiler flag when posting code like that, it's visible in the home page otherwise.
This comment is hidden because it contains spoiler information about the solution
I agree with Bruce.. this doesn't work with punctuation if it exists in one of the split words or on its own. I agree this is the best linq solution "pigit" for "Non-punctuated" strings, but I"m not sure why this is the most recommended solution when handling puncuation as a special case was specifically called out in the problem set... hmmm... I'm not even sure how this passed the tests for the Kata?
This will fail with punctuation
Nice one.
same problem
Am I supposed to be getting repeat Katas? I'm seeing some that I've previously solved show up again.
NEVERMIND I didn't realize it said dictionary, thought it said function.
C#: `Preloaded.CHAR_TO_MORSE' is inaccessible due to its protection level