Pregunta de entrevista de Point72

How would you design algorithm to generate maze