UiPath interview question

Binary search trees, problem solving(easy)