Sliding Window Interview Questions
293+ real questions from verified interview reports across 12 companies.
Sourced from 1Point3Acres, Blind, Glassdoor, Reddit, and more. Translated and cleaned.
Top Companies Asking Sliding Window Questions
Sample Sliding Window Questions
It's basically writing the algorithm on paper. The problem is essentially a rate-limiting problem. Given a list of IP access log lines with IP address and timestamp, flag the IP addresses that access
Lyft telephone round (03/29/2022)
I was asked about the minimum window substring. Had to run the code too to prove it.
YOE: 6.5 Round 1: DSA (45 min) Introduction and few questions about things mentioned in resume. Questions on how AI is used in day-today job. Then interviewer gave a leetcode hard question: Minimum Wi
This post was last edited by Anonymous on 2025-09-29 10:38. I applied for an Applied AI Engineer position at the end of September and immediately received an online assessment (OA) invitation. It was
Do you ever feel like some companies only pretend they’re hiring? They conduct the first round of interview and then never follow up or provide feedback. In my case, I was given two DSA questions: 1.
Candidate Information:Company: AccentureBatch: 2026Profile Offered: AASE (Associate Application Software Engineer)Mode: On-Campus RecruitmentOverview of Interview Process:...
LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Nvidia in the last 6 months.
LeetCode #239: Sliding Window Maximum. Difficulty: Hard. Topics: Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue. Asked at Nvidia in the last 6 months.
LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Walmart Labs in the last 6 months.
LeetCode #567: Permutation in String. Difficulty: Medium. Topics: Hash Table, Two Pointers, String, Sliding Window. Asked at Walmart Labs in the last 6 months.
LeetCode #2817: Minimum Absolute Difference Between Elements With Constraint. Difficulty: Medium. Topics: Array, Binary Search, Ordered Set. Asked at Visa in the last 6 months.
LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Visa in the last 6 months.
LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Infosys in the last 6 months.
LeetCode #1838: Frequency of the Most Frequent Element. Difficulty: Medium. Topics: Array, Binary Search, Greedy, Sliding Window, Sorting, Prefix Sum. Asked at Infosys in the last 6 months.
LeetCode #239: Sliding Window Maximum. Difficulty: Hard. Topics: Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue. Asked at Expedia in the last 6 months.
LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Yandex in the last 6 months.
LeetCode #438: Find All Anagrams in a String. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Yandex in the last 6 months.
LeetCode #340: Longest Substring with At Most K Distinct Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Yandex in the last 6 months.
#567 Permutation in String
LeetCode #567: Permutation in String. Difficulty: Medium. Topics: Hash Table, Two Pointers, String, Sliding Window. Asked at Yandex in the last 6 months.
LeetCode #1004: Max Consecutive Ones III. Difficulty: Medium. Topics: Array, Binary Search, Sliding Window, Prefix Sum. Asked at Yandex in the last 6 months.
LeetCode #643: Maximum Average Subarray I. Difficulty: Easy. Topics: Array, Sliding Window. Asked at Yandex in the last 6 months.
LeetCode #3719: Longest Balanced Subarray I. Difficulty: Medium. Topics: Array, Hash Table, Divide and Conquer, Segment Tree, Prefix Sum. Asked at Intuit in the last 6 months.
#76 Minimum Window Substring
LeetCode #76: Minimum Window Substring. Difficulty: Hard. Topics: Hash Table, String, Sliding Window. Asked at Lyft in the last 6 months.
LeetCode #239: Sliding Window Maximum. Difficulty: Hard. Topics: Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue. Asked at Nutanix in the last 6 months.
LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Zoho in the last 6 months.
See All 293 Sliding Window Questions
Full question text, interview context, and company-specific frequency data for subscribers.
Get Access