Fortinet interview question

Build a binary search tree