https://www.geeksforgeeks.org/minimum-swap-required-convert-binary-tree-binary-search-tree/