Hopper interview question

Coding round: Build a spell-checker