MORSE Corp Interview Question

Relatively easy leetcode and a hypothetical analysis question.