MathWorks Interview Question

Consecutive numbers sum from Leetcode, a DP problem, a sliding window question and another easy problem.