LeetCode 312: Burst Balloons
Problem Restatement We are given an integer array nums . Each value represents a balloon. When we burst balloon i , we gain coins equal to: nums[i - 1] * nums[i] * nums[i + 1] If the left or right neighbor is outside the array, treat that missing neighbor as 1 . After a balloon is burst, it disappears, so its left and right neighbors change. Return the maximum coins...