This solution is outdated. To rescore this solution, sign in.
-
3 Comments
Andrew Dobrovolc
on 23 Aug 2017
I think this test suite is broken, Even if I return a copy of y_correct the assertion fails. Also the answer for test 2 is incorrect, the '(' is wrong both parens are the code for ')'. running the test code in my matlab the assertions do not fail.
James
on 15 Feb 2018
You are correct that the test suite is messed up. I just submitted one with the correct Morse Code string for '(' [which failed], and one with the incorrect substitution [which passed].
bainhome
on 21 Apr 2018
Andrew Dobrovolc was right, the "(" is confused with ")".
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!