Given an array, triangle, return the minimum path sum from top to bottom.
You may move to an adjacent number in the row below at each step. More formally, if you are at index i in the current row, you may move to either index i or index i+1 in the next row.
Constraints: