AfterAcademy Tech
Recover Binary Search Tree-Interview Problem
Given a Binary Search Tree such that two of the nodes of this tree have been swapped by mistake. You need to write a program that will recover this BST while also maintaining its original structure