Domanda di colloquio di Addepar

DSA question - need to create a recursively tree type structure.