Omnissa interview question

Simple graph trace, BST and two points variants