Sliding Window Pattern — LeetCode DSA Guide

Linear input; need longest/shortest contiguous subarray or substring