Sliding Window Interview Questions [2026-2027]

282+ real questions from verified interview reports across 12 companies.

Sourced from 1Point3Acres, Blind, Glassdoor, Reddit, and more. Translated and cleaned.

282
Questions
12
Companies
12
Top Askers

Top Companies Asking Sliding Window Questions

Sample Sliding Window Questions

Could not copy the questions, so this is a summary version from memory and my understanding, solutions and further explanations are very welcome, 3 questions in 60 mins. 1. Reshelving Packets...

These were the questions I got for the Amazon OA. 1) Maximum length of subarray with positive product 2) Variant of Length of the longest valid substring

Had a total of 70 minutes to solve 4 questions. Questions were in range of Easy Medium and Medium Hard range. Q1. Find the sum of Maximum SubArray [https://leetcode.com/problems/maximum-subarray/] Q2....

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

HackerRank assesment test (50% cutoff): 1. https://leetcode.com/problems/group-anagrams/description/ -- 30% points 2. Variation of Grid (instead of one step we can move to k steps (1 -> k)) in all four directions min...

Can some one explain me this OA question that was asked recently i am not getting optimized solution

Q1. https://www.chegg.com/homework-help/questions-and-answers/please-help-asap-give-thumbs-quick-python3-q100931587 ans Not test case pass 2. https://www.chegg.com/homework-help/questions-and-answers/amazon-ships-millions-packages-regularly-number-parcels-need-shipped-compute-minimum-possi-q100610929 ans ![image](https://assets.leetcode.com/users/images/05d13505-b19a-43c0-b674-c662ee7edd7b_1661541375.5786812.png) Not test cass pass any help what mistek my code help me

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:...

The following challenge was given the uniqueness of an array of integers is defined as the number of distinct element present for example the uniqueness of 1, 5 ,2, 1,...

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.

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 #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Docusign in the last 6 months.

LeetCode #1423: Maximum Points You Can Obtain from Cards. Difficulty: Medium. Topics: Array, Sliding Window, Prefix Sum. Asked at PhonePe in the last 6 months.

LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at EPAM Systems in the last 6 months.

LeetCode #239: Sliding Window Maximum. Difficulty: Hard. Topics: Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue. Asked at Booking.com in the last 6 months.

LeetCode #239: Sliding Window Maximum. Difficulty: Hard. Topics: Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue. Asked at Aurora in the last 6 months.

LeetCode #1703: Minimum Adjacent Swaps for K Consecutive Ones. Difficulty: Hard. Topics: Array, Greedy, Sliding Window, Prefix Sum. Asked at Turing in the last 6 months.

LeetCode #3: Longest Substring Without Repeating Characters. Difficulty: Medium. Topics: Hash Table, String, Sliding Window. Asked at Turing in the last 6 months.

LeetCode #1695: Maximum Erasure Value. Difficulty: Medium. Topics: Array, Hash Table, Sliding Window. Asked at AT&T in the last 6 months.

See All 282 Sliding Window Questions

Full question text, interview context, and company-specific frequency data for subscribers.

Get Access

Related Topics