Pregunta de entrevista de Google

Write an algorithm to solve Wordle