Top 50 Sliding Window Interview Questions
The most frequently asked Sliding Window questions across all roles and companies, ranked by real interview frequency. Updated daily.
Compute maximum values for every fixed-size telemetry window using a monotonic deque in O(n) time.
Hewlett Packard Enterprise Development
ABC
ABC FamilyCalculate every fixed-size moving average for Arista EOS telemetry samples using an O(n) sliding window.
Nerdwallet
Umitron Norway
Cerebras SystemsUse sliding window with frequency counts to find the shortest substring containing all characters of a target string.
Super Micro Computer
Swiggy
MetaFind the longest substring without repeated characters using a sliding window and last-seen index map.
Find the longest substring without repeated characters using a sliding window and last-seen index map.
eBay
Microsoft
J.P. MorganSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Use a sliding window and hash map to find the length of the longest substring without repeated characters.
Capital One
Adobe
MetaFind the maximum sum of K consecutive energy readings using a fixed-size sliding window.
Wise. Energy
Petuum
Interactive Process TechnologyDetect transaction indices whose values exceed a rolling sample-standard-deviation threshold using an O(n) sliding window.
Truist
RyanTTangerine