Maximum Sum of Distinct Subarrays With Length K | Leetcode 2461