Find X-Sum of All K-Long Subarrays II

Hard

A written explanation for this problem is on the way. In the meantime, watch the video above or try it on LeetCode.