Duolingo Interview Question

Handle translations and the different edge cases