Topic: Tree Problem / Level: advanced

Problem: Implement a function to check if a binary search tree can be converted to a binary tree by rearranging nodes.

Run the code to see the output here...