Ad
  • Default User Avatar

    Dijkstra is good. Use a deque should help in the speed. I got 3XX ms in python.

  • Default User Avatar

    Only 1 honor score for this kata? I thought 3rd kyu should get me 5 honors...

  • Default User Avatar

    what if the input is '111000111'?
    for unitLen=1, '111' is '-', '000' is letter separator, so the morse code is '- -', so this decodes as 'TT'
    for unitLen=3, '111' is '.', '000' is code separator, so the morse is '..', so this decode as 'I'

    both look correct to me. Could anyone tell me what in my interpretation is wrong? Many thanks!