Transform Tree to Min Heap with Swaps | FE Prep