Pregunta de entrevista de Paige

Implement a poorly specified and undefined variation of a Quad-tree and write a parsing function to initialize it from a 2d array.

Respuesta de la entrevista

Anónimo

22 jul 2020

There are a few ways to implement this but it really depends on a very specific definition of how the quadtree should behave. As this clarity wasn't provided I avoided a generic solution and provided a 4x4 specific version in Python code.