Height of Binary Tree After Subtree Removal Queries | Leetcode 2458