Minimum Time To Burn A Tree Leetcode