โ† American Express questions

Maximum sum of elements between two non-overlapping sliding windows

Filed under American Express

The question

Given an array of numbers and two sliding windows of size K and L with no common elements, return the maximum sum of elements obtainable between 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.