Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Find the longest contiguous slice whose largest and smallest values differ by at most a limit. The visual shows a sliding window with its minimum and maximum tracked.
Find the longest contiguous slice whose largest and smallest values differ by at most a limit. The visual shows a sliding window with its minimum and maximum tracked.