Dynamic Programming, Recursion, Competitive Programming, Leetcode, 3sum.
add each element to the result, at the end of the array we will have all of them added to the result” while the second one would say “Empty array has a sum of 0, for any non-empty array, we can take the first element and the result of summing the rest, and just add those. So, if we have a list of