Program Two Nodes of a BST are Swapped correct the BST

Please write your own version of program in the comment section below in different languages. Best answer will be uploaded on the website page once, the page is ready