Tripadvisor Interview Question

symmetric tree