PhantomCodeAIPhantomCodeAI
FeaturesMock InterviewDashboardJobsPricing
FeaturesMock InterviewDashboardJobsPricing
PhantomCodeAIPhantomCodeAI
FeaturesMock InterviewDashboardJobsPricing
FeaturesMock InterviewDashboardJobsPricing
HomeLeetCode ProblemsHeap (Priority Queue)

Heap (Priority Queue) Problems

169 Heap (Priority Queue) LeetCode problems · Solve with AI-powered hints & step-by-step explanations.

23Merge k Sorted ListsHard215Kth Largest Element in an ArrayMedium218The Skyline ProblemHard239Sliding Window MaximumHard264Ugly Number IIMedium295Find Median from Data StreamHard347Top K Frequent ElementsMedium355Design TwitterMedium373Find K Pairs with Smallest SumsMedium378Kth Smallest Element in a Sorted MatrixMedium407Trapping Rain Water IIHard420Strong Password CheckerHard451Sort Characters By FrequencyMedium480Sliding Window MedianHard502IPOHard506Relative RanksEasy621Task SchedulerMedium630Course Schedule IIIHard632Smallest Range Covering Elements from K ListsHard658Find K Closest ElementsMedium659Split Array into Consecutive SubsequencesMedium675Cut Off Trees for Golf EventHard692Top K Frequent WordsMedium703Kth Largest Element in a StreamEasy743Network Delay TimeMedium767Reorganize StringMedium778Swim in Rising WaterHard786K-th Smallest Prime FractionMedium787Cheapest Flights Within K StopsMedium855Exam RoomMedium857Minimum Cost to Hire K WorkersHard862Shortest Subarray with Sum at Least KHard871Minimum Number of Refueling StopsHard882Reachable Nodes In Subdivided GraphHard912Sort an ArrayMedium973K Closest Points to OriginMedium1046Last Stone WeightEasy1054Distant BarcodesMedium1094Car PoolingMedium1172Dinner Plate StacksHard1263Minimum Moves to Move a Box to Their Target LocationHard1268Search Suggestions SystemMedium1337The K Weakest Rows in a MatrixEasy1338Reduce Array Size to The HalfMedium1353Maximum Number of Events That Can Be AttendedMedium1354Construct Target Array With Multiple SumsHard1368Minimum Cost to Make at Least One Valid Path in a GridHard1383Maximum Performance of a TeamHard1388Pizza With 3n SlicesHard1405Longest Happy StringMedium1424Diagonal Traverse IIMedium1425Constrained Subsequence SumHard1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium1439Find the Kth Smallest Sum of a Matrix With Sorted RowsHard1464Maximum Product of Two Elements in an ArrayEasy1488Avoid Flood in The CityMedium1499Max Value of EquationHard1514Path with Maximum ProbabilityMedium1606Find Servers That Handled Most Number of RequestsHard1631Path With Minimum EffortMedium1642Furthest Building You Can ReachMedium1648Sell Diminishing-Valued Colored BallsMedium1675Minimize Deviation in ArrayHard1686Stone Game VIMedium1687Delivering Boxes from Storage to PortsHard1696Jump Game VIMedium1705Maximum Number of Eaten ApplesMedium1738Find Kth Largest XOR Coordinate ValueMedium1753Maximum Score From Removing StonesMedium1776Car Fleet IIHard1786Number of Restricted Paths From First to Last NodeMedium1792Maximum Average Pass RatioMedium1801Number of Orders in the BacklogMedium1825Finding MK AverageHard1834Single-Threaded CPUMedium1845Seat Reservation ManagerMedium1851Minimum Interval to Include Each QueryHard1878Get Biggest Three Rhombus Sums in a GridMedium1882Process Tasks Using ServersMedium1912Design Movie Rental SystemHard1942The Number of the Smallest Unoccupied ChairMedium1962Remove Stones to Minimize the TotalMedium1985Find the Kth Largest Integer in the ArrayMedium2034Stock Price Fluctuation Medium2054Two Best Non-Overlapping EventsMedium2099Find Subsequence of Length K With the Largest SumEasy2102Sequentially Ordinal Rank TrackerHard2146K Highest Ranked Items Within a Price RangeMedium2163Minimum Difference in Sums After Removal of ElementsHard2182Construct String With Repeat LimitMedium2208Minimum Operations to Halve Array SumMedium2231Largest Number After Digit Swaps by ParityEasy2233Maximum Product After K IncrementsMedium2285Maximum Total Importance of RoadsMedium2290Minimum Obstacle Removal to Reach CornerHard2333Minimum Sum of Squared DifferenceMedium2335Minimum Amount of Time to Fill CupsEasy2336Smallest Number in Infinite SetMedium2342Max Sum of a Pair With Equal Sum of DigitsMedium2343Query Kth Smallest Trimmed NumberMedium2344Minimum Deletions to Make Array DivisibleHard2349Design a Number Container SystemMedium2353Design a Food Rating SystemMedium2357Make Array Zero by Subtracting Equal AmountsEasy2386Find the K-Sum of an ArrayHard2398Maximum Number of Robots Within BudgetHard2402Meeting Rooms IIIHard2406Divide Intervals Into Minimum Number of GroupsMedium2424Longest Uploaded PrefixMedium2454Next Greater Element IVHard2456Most Popular Video CreatorMedium2462Total Cost to Hire K WorkersMedium2497Maximum Star Sum of a GraphMedium2500Delete Greatest Value in Each RowEasy2503Maximum Number of Points From Grid QueriesHard2512Reward Top K StudentsMedium2530Maximal Score After Applying K OperationsMedium2532Time to Cross a BridgeHard2542Maximum Subsequence ScoreMedium2551Put Marbles in BagsHard2558Take Gifts From the Richest PileEasy2577Minimum Time to Visit a Cell In a GridHard2593Find Score of an Array After Marking All ElementsMedium2611Mice and CheeseMedium2617Minimum Number of Visited Cells in a GridHard2642Design Graph With Shortest Path CalculatorHard2662Minimum Cost of a Path With Special RoadsMedium2679Sum in a MatrixMedium2699Modify Graph Edge WeightsHard2762Continuous SubarraysMedium2812Find the Safest Path in a GridMedium2813Maximum Elegance of a K-Length SubsequenceHard2931Maximum Spending After Buying ItemsHard2940Find Building Where Alice and Bob Can MeetHard2944Minimum Number of Coins for FruitsMedium2959Number of Possible Sets of Closing BranchesHard2973Find Number of Coins to Place in Tree NodesHard2974Minimum Number GameEasy3013Divide an Array Into Subarrays With Minimum Cost IIHard3049Earliest Second to Mark Indices IIHard3066Minimum Operations to Exceed Threshold Value IIMedium3080Mark Elements on Array by Performing QueriesMedium3081Replace Question Marks in String to Minimize Its ValueMedium3092Most Frequent IDsMedium3112Minimum Time to Visit Disappearing NodesMedium3123Find Edges in Shortest PathsHard3170Lexicographically Minimum String After Removing StarsMedium3264Final Array State After K Multiplication Operations IEasy3266Final Array State After K Multiplication Operations IIHard3275K-th Nearest Obstacle QueriesMedium3286Find a Safe Walk Through a GridMedium3296Minimum Number of Seconds to Make Mountain Height ZeroMedium3318Find X-Sum of All K-Long Subarrays IEasy3321Find X-Sum of All K-Long Subarrays IIHard3341Find Minimum Time to Reach Last Room IMedium3342Find Minimum Time to Reach Last Room IIMedium3362Zero Array Transformation IIIMedium3377Digit Operations to Make Two Integers EqualMedium3408Design Task ManagerMedium3462Maximum Sum With at Most K ElementsMedium3478Choose K Elements With Maximum SumMedium3505Minimum Operations to Make Elements Within K Subarrays EqualHard3507Minimum Pair Removal to Sort Array IEasy3510Minimum Pair Removal to Sort Array IIHard3572Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesMedium3594Minimum Time to Transport All IndividualsHard3604Minimum Time to Reach Destination in Directed GraphMedium3607Power Grid MaintenanceMedium3620Network Recovery PathwaysHard
← 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.