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.
I also work in visual studio; I built my own class MorseCode, with a Get method and a dictionary where it looks for codes, to mock the behavior asked in the kata.
When two numbers have the same "weight", let us class them as if they were strings (alphabetical ordering) and not numbers:
I liked it!
I loved it!
I loved it!
This comment is hidden because it contains spoiler information about the solution
I loved it!
I was solving this Kata on Visual Studio where you dont have access to the MorseCode.Get function.
I had to implement the signal-message map myself for testing purposes.
IMHO, I think it would be better to implement a static
Dictionary<string,string>
instead of an else-if chain, for performance and maintenance reasons.Great work, brother!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thats a very nice mindset, brother! Congratulations!