Remote Control

Enter a word in the input box and click "run" to see its path.

A prompt from Cassidy Williams' newsletter: "Given a QWERTY keyboard grid and a remote control with arrows and a “select” button, write a function that returns the buttons you have to press to type a certain word. The cursor will always start in the upper left at the letter Q."