Arista Networks interview question

create a sorted binary tree