Search⌘ K
AI Features

Triangle

Triangle presents a number pyramid and asks for the minimum path sum from top to bottom, moving at each step to one of the two adjacent values in the next row. Values may be negative.

Statement

Given an array, triangle, return the minimum path sum from top to bottom.

You may move to an ...