Arista Networks interview question

Binary search tree