Pregunta de entrevista de Futures First

Was asked to solve a rubiks cube