Pergunta de entrevista da empresa Point72

How would you design algorithm to generate maze