maximum path sum in a triangle leetcode