The Trade Desk Interview Question

If I recall correctly it was a Binary Search Tree problem