Sliding Window
Challenges: 5Easy: 1Medium: 3Hard: 1
This Sliding Window set gathers 5 coding problems, with a mix of 1 easy, 3 medium, 1 hard. They show up in interviews at companies like Amazon, Apple, Meta, Microsoft, Careem, so you can master the pattern once and recognize it everywhere.
Sliding Window coding problems
Best Time to Buy and Sell Stock
Difficulty: EasyAsked by: Amazon, Apple, MetaLongest Substring Without Repeating Characters
Difficulty: MediumAsked by: Amazon, Meta, MicrosoftMax Consecutive Ones III
Difficulty: MediumAsked by: CareemSliding Window Maximum
Difficulty: HardAsked by: Siemens EDASliding Log Rate Limiter
Difficulty: MediumAsked by: Careem, Google, Uber
Asked by
Ready to practice for real?
Work through Sliding Window problems in the editor, run your code, and check your solution against real test cases.
Practice coding challenges, start free