Point72 Interview Question

How would you design algorithm to generate maze