Tripadvisor Interview Question

Find duplicates in a binary search tree