Leetcode 3430. Maximum and Minimum Sums of at Most Size K Subarrays | Hello Interview