Daily challenge for 2026-01-31
396. Max Sum Subarray Fixed Size
Given an array of integers nums and an integer k, find the maximum sum of any contiguous subarray of size exactly k. You must use the two-pointers or sliding window technique.
Example:Input: nums = [2, 1, 5, 1, 3, 2], k = 3Output: 9 (Subarray [5, 1, 3])
Run this challenge interactively in Python or JavaScript when the app loads.