UiPath Interview Question

Binary search trees, problem solving(easy)