Pregunta de entrevista de Medium

tic-tac-toe solver, hangman, and design an elevator