Block interview question

A coding question involving decoding string morse code to english.