LeetCode
Burst Balloons
Click
here
for an explanation.