Given a triangle, find the minimum path sum from top to bottom.
Two approaches to solve the problem: Top Down and Bottom Up.
Top Down approach: Initialize a result vector with the value of triangle[0][0]. Iterate through the levels and compute the minimum path sum.
Bottom Up approach: Start from the row above the bottom row. Add the smaller of the two adjacent numbers with the current element. Get the smallest sum to the top.