https://medium.com/@abhijithkrish07/day-33-maximum-sum-of-distinct-subarrays-with-length-k-196ae6c8dae7