Juniper Networks Interview Question

related to binary trees