GE HealthCare interview question

To do a tree data structure hard question only in javascript.