Minimum Cost Tree From Leaf Values Leetcode 150