Cisco interview question

Coding question that involved Binary Search Tree