https://foxstack.blogspot.com/2022/03/subarray-sums-problem-solving-basic.html