python – collect full path till leaf on organization tree
python – collect full path till leaf on organization tree Question: I got organizations tree stored as json { "name": "amos", "direct_reports": [ { "name": "bart", "direct_reports": [ { "name": "colin", "direct_reports": [] }, { "name": "clara", "direct_reports": [] } ] }, { "name": "bravo", "direct_reports": [ { "name": "cupid", "direct_reports": [] }, { "name": …