1130. Minimum Cost Tree From Leaf Values
Last updated
Last updated
**Input:** arr = [6,2,4]
**Output:** 32
**Explanation:** There are two possible trees shown.
The first has a non-leaf node sum 36, and the second has non-leaf node sum 32.**Input:** arr = [4,11]
**Output:** 44