Question d’entretien chez Addepar

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