Expedia Group interview question

Write a program to arrange an unbalanced BST.