LeetCode
Minimum Cost Tree From Leaf Values
Click
here
for an explanation.