https://romankurnovskii.com/en/tracks/algorithms-101/leetcode/medium/2221/
2221. Find Triangular Sum of an Array