Decentraland Interview Question

sort out recursive algorithm to generate a metaverse