Sponsored
Use these hints if you're stuck. Try solving on your own first.
Implement the x-sum function. Then, run x-sum on every subarray of <code>nums</code> of size <code>k</code>.
Solve with full IDE support and test cases