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.
In Go 1.20, one test fails but there doesnt appear to be any difference between the expected and my output. Additionally, my code prints the input text for debugging, and when I copy that input and test manually it passes. Is this an isssue with the kata or am I missing something?
Long messages handling case fails:
However when tested manually it passes without issue.
In Python, sample test has the bits wrong, and not in the same format as announced by either the kata text nor as the tests of the attempt.
Could you specify what's the relation between patterns and special characters?, because your tests don't seem to use the characters shown in the International Morse code binary search tree as shown on the link you provided.
Could anyone hint me how to find the transmission rate?
The preloaded morse code dictionary (in golang) does not include punctuation used in the test cases.
No random tests in Java
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
"111000111" should be (TT) why (I)
111= - ;000 = pause between char and char ;111 = -;
sum is (- -) '-' : 'T'
or 111 = 1 and 000 =0 it will be
1 = . ; 0 = pause between Dash or Dot 1 = . ;
sum is (..) '..' : 'I'
How can I know his intention?
Kinda got everything done, but I don't understand how to do a standard string check without lengthening. I'm stumped.
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.
In Haskell I get the following error when attempting:
expected: "SOS! THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG."
but got: "?! THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. "
Weirdly this test goes through!
decodeMorse "... --- ... -.-.-- - .... . --.- ..- .. -.-. -.- -... .-. --- .-- -. ..-. --- -..- .--- ..- -- .--. ... --- ...- . .-. - .... . .-.. .- --.. -.-- -.. --- --. .-.-.-"
shouldBe
"SOS! THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG."Test for
'1111111111110000000000000000000000000000111111111111'
to equal'T T'
should be added to the task's tests, existing solutions often fail on it, assuming that'111111111111'
is a dot (and it's not the case when it can be both dot and dash)Incorrect answer for input=" ...---... -.-.-- - .... . --.- ..- .. -.-. -.- -... .-. --- .-- -. ..-. --- -..- .--- ..- -- .--. ... --- ...- . .-. - .... . .-.. .- --.. -.-- -.. --- --. .-.-.- ": expected 'SOS! THE QUICK BROWN FOX JUMPS OVER T…' to equal 'SOS! THE QUICK BROWN FOX JUMPS OVER T…'
so ummm, what's the problem here?
Loading more items...