PhantomCodeAIPhantomCodeAI
FeaturesMock InterviewDashboardJobsPricing
FeaturesMock InterviewDashboardJobsPricing
PhantomCodeAIPhantomCodeAI
FeaturesMock InterviewDashboardJobsPricing
FeaturesMock InterviewDashboardJobsPricing
HomeLeetCode ProblemsSliding Window

Sliding Window Problems

133 Sliding Window LeetCode problems · Solve with AI-powered hints & step-by-step explanations.

3Longest Substring Without Repeating CharactersMedium30Substring with Concatenation of All WordsHard76Minimum Window SubstringHard187Repeated DNA SequencesMedium209Minimum Size Subarray SumMedium219Contains Duplicate IIEasy220Contains Duplicate IIIHard239Sliding Window MaximumHard395Longest Substring with At Least K Repeating CharactersMedium413Arithmetic SlicesMedium424Longest Repeating Character ReplacementMedium438Find All Anagrams in a StringMedium480Sliding Window MedianHard567Permutation in StringMedium594Longest Harmonious SubsequenceEasy632Smallest Range Covering Elements from K ListsHard643Maximum Average Subarray IEasy658Find K Closest ElementsMedium689Maximum Sum of 3 Non-Overlapping SubarraysHard713Subarray Product Less Than KMedium718Maximum Length of Repeated SubarrayMedium837New 21 GameMedium862Shortest Subarray with Sum at Least KHard904Fruit Into BasketsMedium930Binary Subarrays With SumMedium978Longest Turbulent SubarrayMedium992Subarrays with K Different IntegersHard995Minimum Number of K Consecutive Bit FlipsHard1004Max Consecutive Ones IIIMedium1016Binary String With Substrings Representing 1 To NMedium1031Maximum Sum of Two Non-Overlapping SubarraysMedium1040Moving Stones Until Consecutive IIMedium1044Longest Duplicate SubstringHard1052Grumpy Bookstore OwnerMedium1156Swap For Longest Repeated Character SubstringMedium1208Get Equal Substrings Within BudgetMedium1234Replace the Substring for Balanced StringMedium1248Count Number of Nice SubarraysMedium1297Maximum Number of Occurrences of a SubstringMedium1343Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdMedium1358Number of Substrings Containing All Three CharactersMedium1423Maximum Points You Can Obtain from CardsMedium1425Constrained Subsequence SumHard1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium1456Maximum Number of Vowels in a Substring of Given LengthMedium1477Find Two Non-overlapping Sub-arrays Each With Target SumMedium1493Longest Subarray of 1's After Deleting One ElementMedium1499Max Value of EquationHard1610Maximum Number of Visible PointsHard1652Defuse the BombEasy1658Minimum Operations to Reduce X to ZeroMedium1695Maximum Erasure ValueMedium1703Minimum Adjacent Swaps for K Consecutive OnesHard1763Longest Nice SubstringEasy1838Frequency of the Most Frequent ElementMedium1839Longest Substring Of All Vowels in OrderMedium1871Jump Game VIIMedium1876Substrings of Size Three with Distinct CharactersEasy1888Minimum Number of Flips to Make the Binary String AlternatingMedium1984Minimum Difference Between Highest and Lowest of K ScoresEasy2009Minimum Number of Operations to Make Array ContinuousHard2024Maximize the Confusion of an ExamMedium2090K Radius Subarray AveragesMedium2106Maximum Fruits Harvested After at Most K StepsHard2134Minimum Swaps to Group All 1's Together IIMedium2156Find Substring With Given Hash ValueHard2260Minimum Consecutive Cards to Pick UpMedium2269Find the K-Beauty of a NumberEasy2271Maximum White Tiles Covered by a CarpetMedium2302Count Subarrays With Score Less Than KHard2379Minimum Recolors to Get K Consecutive Black BlocksEasy2398Maximum Number of Robots Within BudgetHard2401Longest Nice SubarrayMedium2411Smallest Subarrays With Maximum Bitwise ORMedium2444Count Subarrays With Fixed BoundsHard2461Maximum Sum of Distinct Subarrays With Length KMedium2516Take K of Each Character From Left and RightMedium2528Maximize the Minimum Powered CityHard2537Count the Number of Good SubarraysMedium2555Maximize Win From Two SegmentsMedium2653Sliding Subarray BeautyMedium2730Find the Longest Semi-Repetitive SubstringMedium2747Count Zero Request ServersMedium2760Longest Even Odd Subarray With ThresholdEasy2762Continuous SubarraysMedium2779Maximum Beauty of an Array After Applying OperationMedium2781Length of the Longest Valid SubstringHard2799Count Complete Subarrays in an ArrayMedium2831Find the Longest Equal SubarrayMedium2841Maximum Sum of Almost Unique SubarrayMedium2875Minimum Size Subarray in Infinite ArrayMedium2902Count of Sub-Multisets With Bounded SumHard2904Shortest and Lexicographically Smallest Beautiful StringMedium2932Maximum Strong Pair XOR IEasy2935Maximum Strong Pair XOR IIHard2953Count Complete SubstringsHard2958Length of Longest Subarray With at Most K FrequencyMedium2962Count Subarrays Where Max Element Appears at Least K TimesMedium2968Apply Operations to Maximize Frequency ScoreHard2981Find Longest Special Substring That Occurs Thrice IMedium2982Find Longest Special Substring That Occurs Thrice IIMedium3013Divide an Array Into Subarrays With Minimum Cost IIHard3086Minimum Moves to Pick K OnesHard3090Maximum Length Substring With Two OccurrencesEasy3095Shortest Subarray With OR at Least K IEasy3097Shortest Subarray With OR at Least K IIMedium3134Find the Median of the Uniqueness ArrayHard3191Minimum Operations to Make Binary Array Elements Equal to One IMedium3206Alternating Groups IEasy3208Alternating Groups IIMedium3234Count the Number of Substrings With Dominant OnesMedium3254Find the Power of K-Size Subarrays IMedium3255Find the Power of K-Size Subarrays IIMedium3258Count Substrings That Satisfy K-Constraint IEasy3261Count Substrings That Satisfy K-Constraint IIHard3297Count Substrings That Can Be Rearranged to Contain a String IMedium3298Count Substrings That Can Be Rearranged to Contain a String IIHard3305Count of Substrings Containing Every Vowel and K Consonants IMedium3306Count of Substrings Containing Every Vowel and K Consonants IIMedium3318Find X-Sum of All K-Long Subarrays IEasy3321Find X-Sum of All K-Long Subarrays IIHard3325Count Substrings With K-Frequency Characters IMedium3346Maximum Frequency of an Element After Performing Operations IMedium3347Maximum Frequency of an Element After Performing Operations IIHard3364Minimum Positive Sum Subarray Easy3411Maximum Subarray With Equal ProductsEasy3413Maximum Coins From K Consecutive BagsMedium3420Count Non-Decreasing Subarrays After K OperationsHard3439Reschedule Meetings for Maximum Free Time IMedium3445Maximum Difference Between Even and Odd Frequency IIHard3505Minimum Operations to Make Elements Within K Subarrays EqualHard3578Count Partitions With Max-Min Difference at Most KMedium3589Count Prime-Gap Balanced SubarraysMedium
← Browse all LeetCode problems
PhantomCodeAIPhantomCodeAI
PhantomCodeAI is an undetectable desktop application to help you pass your Leetcode interviews.
All systems online
Download

Legal

Refund PolicyTerms of ServiceCancellation PolicyPrivacy Policy

Pages

Contact SupportHelp CenterInstant SupportFAQBlogFeaturesInterview CopilotCoding CopilotInterview QuestionsPricingMock Interview PricingEarn with UsBest AI Interview Assistants 2026FeedbackLeetcode ProblemsLoginCreate Account

Compare

All 29 comparisons →Why switch (29 alternatives) →Interview Coder AlternativeFinal Round AI AlternativeUltraCode AI AlternativeParakeet AI AlternativeAI Apply AlternativeCoderRank AlternativeInterviewing.io AlternativeShadeCoder Alternative

Resources

Salary GuideResume TemplatesWhat Is PhantomCodeAIIs PhantomCodeAI Detectable?Use PhantomCodeAI in HackerRankvs LeetCode PremiumFor European EngineersFor FAANG Interview PrepPost-Layoff ComebackIndia Pricing (INR)

Interview Types

Coding InterviewSystem Design InterviewDSA InterviewLeetCode InterviewAlgorithms InterviewData Structure InterviewSQL InterviewOnline Assessment

Interview Questions

See all →
GoogleAmazonMetaMicrosoftAppleNetflixStripeUberAirbnbBloombergSoftware EngineerFrontend EngineerBackend EngineerData EngineerML EngineerDevOps EngineerData ScientistEngineering ManagerBehavioralSystem Design

Mock Interview by Round Type

All formats →
Mock Interview HubMock Coding InterviewMock Behavioral InterviewMock System Design

AI for Industry Interviews

All industries →
Sales InterviewsPM InterviewsFinance InterviewsConsulting InterviewsDesign Interviews

Coding Interview Patterns

See all patterns →
Coding Interviews HubDynamic ProgrammingTwo Pointers + Sliding WindowGraph AlgorithmsTree AlgorithmsBinary Search

Interview Guides

See all guides →
How to Ace an InterviewHow to Crack InterviewsBest Interview AnswersScreening Interview QuestionsTelephone Interview TipsWorking Interview ExplainedCracking the PM InterviewFAANG 30-Day RoadmapTop 10 LeetCode PatternsSystem Design Prep GuideSTAR Behavioral MethodBehavioral Interview Qs

Alternatives — why engineers switch

See all 29 →
Interview CoderFinal Round AIParakeet AILockedIn AIUltraCode AIShadeCoderSensei AIVerve AICluelyChatGPTBeyz AIInterview SidekickYoodliAlgoMonsterCoderRankExponentFormationInterviewing.ioInterview CakeBig InterviewInterview KickstartPrampScalerAI ApplyCareerflowJobscanKickresumeTeal HQHireVue

AI Interview Tools

AI Interview AssistantAI Interview CoachAI for Job InterviewsAI Interview Preparation ToolReal-Time AI Interview AnswersInterview AI HelperReal-Time AI Interview AssistantAI Interview BotBest AI Interview Tools 2026AI Interview QuestionsPractice Interview QuestionsAI to Answer Interview QuestionsAI Phone Interview HelpAI Interviewing SoftwareAI Interview HubInterview CopilotAI Coding Interview AssistantMock Interview

© 2026 PhantomCodeAI. All rights reserved.