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 did the samething but in 11 lines =0
I know a way how get rid of all constants and still have the best performance! :P
Are you intrested?
This comment is hidden because it contains spoiler information about the solution
The author didn't describe well enough the timings he told in the previous Kata of the series.
I was disappointed until I solved that Kata.
enumarate op
I agree
Every time I finish or don't finish it's the same for me XD
Wish I could get the hang of this optimised coding :)
bruh
its loaded in the class of codewars not in your class so you you can only use it when you run the code here
src/main/java/MorseCodeDecoder.java:10: error: cannot find symbol
sb.append(MoreseCode.get(tkn));
^
symbol: variable MoreseCode
location: class MorseCodeDecoder
1 error
i did that and it is complaining class not found.
OP passed the kata, closing.
You shouldn't import MorseCode, just call it as shown in the kata's description:
This says MorseCode dictionary is preloaded, but java code is not able to find the class. How to load the dictionary. Please help
Loading more items...