Minimum Number of Operations to Sort a Binary Tree by Level | Leetcode 2471