CodingModerate
Maximum sum of elements in two non-overlapping sliding windows
Filed under American Express
The question
Given an array of numbers and two sliding window sizes K and L with no elements in common between them, return the maximum possible sum of elements covered by both windows.
No write-up yet. Related questions below have one.
Related American Express questions
Collected from public candidate posts and coding forums. Updated Nov 2026.