Skip to content
LEETFLIX

method

Sorting — animated LeetCode walkthroughs

LeetCode problems solved with Sorting. Browse the complete tag, then watch the algorithm move — step-by-step animation, Python and Go.

536 problems · 461 animated · 75 locked

Full Sorting index

  1. 153SumWatch
  2. 163Sum ClosestWatch
  3. 184SumWatch
  4. 47Permutations IIWatch
  5. 49Group AnagramsWatch
  6. 56Merge IntervalsWatch
  7. 75Sort ColorsWatch
  8. 88Merge Sorted ArrayWatch
  9. 147Insertion Sort ListWatch
  10. 148Sort ListWatch
  11. 164Maximum GapWatch
  12. 169Majority ElementWatch
  13. 179Largest NumberWatch
  14. 215Kth Largest Element in an ArrayWatch
  15. 217Contains DuplicateWatch
  16. 218The Skyline ProblemWatch
  17. 220Contains Duplicate IIIWatch
  18. 229Majority Element IIWatch
  19. 242Valid AnagramWatch
  20. 252Meeting RoomsLocked
  21. 253Meeting Rooms IILocked
  22. 2593Sum SmallerLocked
  23. 268Missing NumberWatch
  24. 274H-IndexWatch
  25. 280Wiggle SortLocked
  26. 295Find Median from Data StreamWatch
  27. 296Best Meeting PointLocked
  28. 314Binary Tree Vertical Order TraversalLocked
  29. 324Wiggle Sort IIWatch
  30. 332Reconstruct ItineraryWatch
  31. 347Top K Frequent ElementsWatch
  32. 349Intersection of Two ArraysWatch
  33. 350Intersection of Two Arrays IIWatch
  34. 354Russian Doll EnvelopesWatch
  35. 358Rearrange String k Distance ApartLocked
  36. 360Sort Transformed ArrayLocked
  37. 368Largest Divisible SubsetWatch
  38. 378Kth Smallest Element in a Sorted MatrixWatch
  39. 389Find the DifferenceWatch
  40. 406Queue Reconstruction by HeightWatch
  41. 414Third Maximum NumberWatch
  42. 435Non-overlapping IntervalsWatch
  43. 436Find Right IntervalWatch
  44. 442Find All Duplicates in an ArrayWatch
  45. 451Sort Characters By FrequencyWatch
  46. 452Minimum Number of Arrows to Burst BalloonsWatch
  47. 455Assign CookiesWatch
  48. 462Minimum Moves to Equal Array Elements IIWatch
  49. 472Concatenated WordsWatch
  50. 475HeatersWatch
  51. 502IPOWatch
  52. 506Relative RanksWatch
  53. 522Longest Uncommon Subsequence IIWatch
  54. 524Longest Word in Dictionary through DeletingWatch
  55. 527Word AbbreviationLocked
  56. 532K-diff Pairs in an ArrayWatch
  57. 539Minimum Time DifferenceWatch
  58. 561Array PartitionWatch
  59. 581Shortest Unsorted Continuous SubarrayWatch
  60. 588Design In-Memory File SystemLocked
  61. 594Longest Harmonious SubsequenceWatch
  62. 611Valid Triangle NumberWatch
  63. 621Task SchedulerWatch
  64. 628Maximum Product of Three NumbersWatch
  65. 630Course Schedule IIIWatch
  66. 632Smallest Range Covering Elements from K ListsWatch
  67. 642Design Search Autocomplete SystemLocked
  68. 645Set MismatchWatch
  69. 646Maximum Length of Pair ChainWatch
  70. 658Find K Closest ElementsWatch
  71. 692Top K Frequent WordsWatch
  72. 694Number of Distinct IslandsLocked
  73. 710Random Pick with BlacklistWatch
  74. 711Number of Distinct Islands IILocked
  75. 719Find K-th Smallest Pair DistanceWatch
  76. 720Longest Word in DictionaryWatch
  77. 721Accounts MergeWatch
  78. 726Number of AtomsWatch
  79. 747Largest Number At Least Twice of OthersWatch
  80. 757Set Intersection Size At Least TwoWatch
  81. 759Employee Free TimeLocked
  82. 761Special Binary StringWatch
  83. 767Reorganize StringWatch
  84. 768Max Chunks To Make Sorted IIWatch
  85. 769Max Chunks To Make SortedWatch
  86. 786K-th Smallest Prime FractionWatch
  87. 791Custom Sort StringWatch
  88. 792Number of Matching SubsequencesWatch
  89. 823Binary Trees With FactorsWatch
  90. 825Friends Of Appropriate AgesWatch
  91. 826Most Profit Assigning WorkWatch
  92. 833Find And Replace in StringWatch
  93. 846Hand of StraightsWatch
  94. 853Car FleetWatch
  95. 857Minimum Cost to Hire K WorkersWatch
  96. 869Reordered Power of 2Watch
  97. 870Advantage ShuffleWatch
  98. 881Boats to Save PeopleWatch
  99. 888Fair Candy SwapWatch
  100. 891Sum of Subsequence WidthsWatch
  101. 893Groups of Special-Equivalent StringsWatch
  102. 899Orderly QueueWatch
  103. 905Sort Array By ParityWatch
  104. 910Smallest Range IIWatch
  105. 912Sort an ArrayWatch
  106. 922Sort Array By Parity IIWatch
  107. 9233Sum With MultiplicityWatch
  108. 937Reorder Data in Log FilesWatch
  109. 939Minimum Area RectangleWatch
  110. 945Minimum Increment to Make Array UniqueWatch
  111. 948Bag of TokensWatch
  112. 950Reveal Cards In Increasing OrderWatch
  113. 954Array of Doubled PairsWatch
  114. 969Pancake SortingWatch
  115. 973K Closest Points to OriginWatch
  116. 975Odd Even JumpWatch
  117. 976Largest Perimeter TriangleWatch
  118. 977Squares of a Sorted ArrayWatch
  119. 987Vertical Order Traversal of a Binary TreeWatch
  120. 1005Maximize Sum Of Array After K NegationsWatch
  121. 1029Two City SchedulingWatch
  122. 1030Matrix Cells in Distance OrderWatch
  123. 1040Moving Stones Until Consecutive IIWatch
  124. 1048Longest String ChainWatch
  125. 1051Height CheckerWatch
  126. 1054Distant BarcodesWatch
  127. 1057Campus BikesLocked
  128. 1058Minimize Rounding Error to Meet TargetLocked
  129. 1065Index Pairs of a StringLocked
  130. 1086High FiveLocked
  131. 1087Brace ExpansionLocked
  132. 1090Largest Values From LabelsWatch
  133. 1094Car PoolingWatch
  134. 1096Brace Expansion IIWatch
  135. 1099Two Sum Less Than KLocked
  136. 1101The Earliest Moment When Everyone Become FriendsLocked
  137. 1122Relative Sort ArrayWatch
  138. 1133Largest Unique NumberLocked
  139. 1152Analyze User Website Visit PatternLocked
  140. 1169Invalid TransactionsWatch
  141. 1170Compare Strings by Frequency of the Smallest CharacterWatch
  142. 1181Before and After PuzzleLocked
  143. 1183Maximum Number of OnesLocked
  144. 1187Make Array Strictly IncreasingWatch
  145. 1196How Many Apples Can You Put into the BasketLocked
  146. 1200Minimum Absolute DifferenceWatch
  147. 1202Smallest String With SwapsWatch
  148. 1229Meeting SchedulerLocked
  149. 1235Maximum Profit in Job SchedulingWatch
  150. 1244Design A LeaderboardLocked
  151. 1262Greatest Sum Divisible by ThreeWatch
  152. 1268Search Suggestions SystemWatch
  153. 1288Remove Covered IntervalsWatch
  154. 1296Divide Array in Sets of K Consecutive NumbersWatch
  155. 1300Sum of Mutated Array Closest to TargetWatch
  156. 1305All Elements in Two Binary Search TreesWatch
  157. 1311Get Watched Videos by Your FriendsWatch
  158. 1329Sort the Matrix DiagonallyWatch
  159. 1331Rank Transform of an ArrayWatch
  160. 1333Filter Restaurants by Vegan-Friendly, Price and DistanceWatch
  161. 1337The K Weakest Rows in a MatrixWatch
  162. 1338Reduce Array Size to The HalfWatch
  163. 1340Jump Game VWatch
  164. 1346Check If N and Its Double ExistWatch
  165. 1348Tweet Counts Per FrequencyWatch
  166. 1353Maximum Number of Events That Can Be AttendedWatch
  167. 1356Sort Integers by The Number of 1 BitsWatch
  168. 1363Largest Multiple of ThreeWatch
  169. 1365How Many Numbers Are Smaller Than the Current NumberWatch
  170. 1366Rank Teams by VotesWatch
  171. 1383Maximum Performance of a TeamWatch
  172. 1385Find the Distance Value Between Two ArraysWatch
  173. 1387Sort Integers by The Power ValueWatch
  174. 1402Reducing DishesWatch
  175. 1403Minimum Subsequence in Non-Increasing OrderWatch
  176. 1418Display Table of Food Orders in a RestaurantWatch
  177. 1424Diagonal Traverse IIWatch
  178. 1433Check If a String Can Break Another StringWatch
  179. 1451Rearrange Words in a SentenceWatch
  180. 1460Make Two Arrays Equal by Reversing SubarraysWatch
  181. 1464Maximum Product of Two Elements in an ArrayWatch
  182. 1465Maximum Area of a Piece of Cake After Horizontal and Vertical CutsWatch
  183. 1471The k Strongest Values in an ArrayWatch
  184. 1478Allocate MailboxesWatch
  185. 1481Least Number of Unique Integers after K RemovalsWatch
  186. 1489Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeWatch
  187. 1491Average Salary Excluding the Minimum and Maximum SalaryWatch
  188. 1498Number of Subsequences That Satisfy the Given Sum ConditionWatch
  189. 1500Design a File Sharing SystemLocked
  190. 1502Can Make Arithmetic Progression From SequenceWatch
  191. 1508Range Sum of Sorted Subarray SumsWatch
  192. 1509Minimum Difference Between Largest and Smallest Value in Three MovesWatch
  193. 1520Maximum Number of Non-Overlapping SubstringsWatch
  194. 1547Minimum Cost to Cut a StickWatch
  195. 1552Magnetic Force Between Two BallsWatch
  196. 1561Maximum Number of Coins You Can GetWatch
  197. 1564Put Boxes Into the Warehouse ILocked
  198. 1580Put Boxes Into the Warehouse IILocked
  199. 1585Check If String Is Transformable With Substring Sort OperationsWatch
  200. 1589Maximum Sum Obtained of Any PermutationWatch
  201. 1604Alert Using Same Key-Card Three or More Times in a One Hour PeriodWatch
  202. 1608Special Array With X Elements Greater Than or Equal XWatch
  203. 1610Maximum Number of Visible PointsWatch
  204. 1619Mean of Array After Removing Some ElementsWatch
  205. 1626Best Team With No ConflictsWatch
  206. 1630Arithmetic SubarraysWatch
  207. 1632Rank Transform of a MatrixWatch
  208. 1636Sort Array by Increasing FrequencyWatch
  209. 1637Widest Vertical Area Between Two Points Containing No PointsWatch
  210. 1647Minimum Deletions to Make Character Frequencies UniqueWatch
  211. 1648Sell Diminishing-Valued Colored BallsWatch
  212. 1657Determine if Two Strings Are CloseWatch
  213. 1665Minimum Initial Energy to Finish TasksWatch
  214. 1679Max Number of K-Sum PairsWatch
  215. 1686Stone Game VIWatch
  216. 1691Maximum Height by Stacking Cuboids Watch
  217. 1697Checking Existence of Edge Length Limited PathsWatch
  218. 1710Maximum Units on a TruckWatch
  219. 1724Checking Existence of Edge Length Limited Paths IILocked
  220. 1727Largest Submatrix With RearrangementsWatch
  221. 1738Find Kth Largest XOR Coordinate ValueWatch
  222. 1751Maximum Number of Events That Can Be Attended IIWatch
  223. 1755Closest Subsequence SumWatch
  224. 1772Sort Features by PopularityLocked
  225. 1782Count Pairs Of NodesWatch
  226. 1798Maximum Number of Consecutive Values You Can MakeWatch
  227. 1818Minimum Absolute Sum DifferenceWatch
  228. 1833Maximum Ice Cream BarsWatch
  229. 1834Single-Threaded CPUWatch
  230. 1838Frequency of the Most Frequent ElementWatch
  231. 1840Maximum Building HeightWatch
  232. 1846Maximum Element After Decreasing and RearrangingWatch
  233. 1847Closest RoomWatch
  234. 1851Minimum Interval to Include Each QueryWatch
  235. 1859Sorting the SentenceWatch
  236. 1874Minimize Product Sum of Two ArraysLocked
  237. 1877Minimize Maximum Pair Sum in ArrayWatch
  238. 1878Get Biggest Three Rhombus Sums in a GridWatch
  239. 1885Count Pairs in Two ArraysLocked
  240. 1887Reduction Operations to Make the Array Elements EqualWatch
  241. 1889Minimum Space Wasted From PackagingWatch
  242. 1913Maximum Product Difference Between Two PairsWatch
  243. 1921Eliminate Maximum Number of MonstersWatch
  244. 1943Describe the PaintingWatch
  245. 1948Delete Duplicate Folders in SystemWatch
  246. 1968Array With Elements Not Equal to Average of NeighborsWatch
  247. 1982Find Array Given Subset SumsWatch
  248. 1984Minimum Difference Between Highest and Lowest of K ScoresWatch
  249. 1985Find the Kth Largest Integer in the ArrayWatch
  250. 1996The Number of Weak Characters in the GameWatch
  251. 1998GCD Sort of an ArrayWatch
  252. 2007Find Original Array From Doubled ArrayWatch
  253. 2008Maximum Earnings From TaxiWatch
  254. 2015Average Height of Buildings in Each SegmentLocked
  255. 2021Brightest Position on StreetLocked
  256. 2033Minimum Operations to Make a Uni-Value GridWatch
  257. 2035Partition Array Into Two Arrays to Minimize Sum DifferenceWatch
  258. 2037Minimum Number of Moves to Seat EveryoneWatch
  259. 2046Sort Linked List Already Sorted Using Absolute ValuesLocked
  260. 2054Two Best Non-Overlapping EventsWatch
  261. 2070Most Beautiful Item for Each QueryWatch
  262. 2071Maximum Number of Tasks You Can AssignWatch
  263. 2089Find Target Indices After Sorting ArrayWatch
  264. 2092Find All People With SecretWatch
  265. 2094Finding 3-Digit Even NumbersWatch
  266. 2098Subsequence of Size K With the Largest Even SumLocked
  267. 2099Find Subsequence of Length K With the Largest SumWatch
  268. 2122Recover the Original ArrayWatch
  269. 2126Destroying AsteroidsWatch
  270. 2135Count Words Obtained After Adding a LetterWatch
  271. 2136Earliest Possible Day of Full BloomWatch
  272. 2141Maximum Running Time of N ComputersWatch
  273. 2144Minimum Cost of Buying Candies With DiscountWatch
  274. 2146K Highest Ranked Items Within a Price RangeWatch
  275. 2148Count Elements With Strictly Smaller and Greater Elements Watch
  276. 2154Keep Multiplying Found Values by TwoWatch
  277. 2160Minimum Sum of Four Digit Number After Splitting DigitsWatch
  278. 2164Sort Even and Odd Indices IndependentlyWatch
  279. 2165Smallest Value of the Rearranged NumberWatch
  280. 2171Removing Minimum Number of Magic BeansWatch
  281. 2191Sort the Jumbled NumbersWatch
  282. 2195Append K Integers With Minimal SumWatch
  283. 2225Find Players With Zero or One LossesWatch
  284. 2229Check if an Array Is ConsecutiveLocked
  285. 2231Largest Number After Digit Swaps by ParityWatch
  286. 2234Maximum Total Beauty of the GardensWatch
  287. 2242Maximum Score of a Node SequenceWatch
  288. 2248Intersection of Multiple ArraysWatch
  289. 2250Count Number of Rectangles Containing Each PointWatch
  290. 2251Number of Flowers in Full BloomWatch
  291. 2268Minimum Number of KeypressesLocked
  292. 2271Maximum White Tiles Covered by a CarpetWatch
  293. 2273Find Resultant Array After Removing AnagramsWatch
  294. 2274Maximum Consecutive Floors Without Special FloorsWatch
  295. 2279Maximum Bags With Full Capacity of RocksWatch
  296. 2280Minimum Lines to Represent a Line ChartWatch
  297. 2285Maximum Total Importance of RoadsWatch
  298. 2294Partition Array Such That Maximum Difference Is KWatch
  299. 2300Successful Pairs of Spells and PotionsWatch
  300. 2323Find Minimum Time to Finish All Jobs IILocked
  301. 2332The Latest Time to Catch a BusWatch
  302. 2333Minimum Sum of Squared DifferenceWatch
  303. 2335Minimum Amount of Time to Fill CupsWatch
  304. 2342Max Sum of a Pair With Equal Sum of DigitsWatch
  305. 2343Query Kth Smallest Trimmed NumberWatch
  306. 2344Minimum Deletions to Make Array DivisibleWatch
  307. 2345Finding the Number of Visible MountainsLocked
  308. 2357Make Array Zero by Subtracting Equal AmountsWatch
  309. 2363Merge Similar ItemsWatch
  310. 2371Minimize Maximum Value in a GridLocked
  311. 2386Find the K-Sum of an ArrayWatch
  312. 2389Longest Subsequence With Limited SumWatch
  313. 2402Meeting Rooms IIIWatch
  314. 2406Divide Intervals Into Minimum Number of GroupsWatch
  315. 2410Maximum Matching of Players With TrainersWatch
  316. 2412Minimum Money Required Before TransactionsWatch
  317. 2418Sort the PeopleWatch
  318. 2421Number of Good PathsWatch
  319. 2441Largest Positive Integer That Exists With Its NegativeWatch
  320. 2448Minimum Cost to Make Array EqualWatch
  321. 2449Minimum Number of Operations to Make Arrays SimilarWatch
  322. 2454Next Greater Element IVWatch
  323. 2456Most Popular Video CreatorWatch
  324. 2459Sort Array by Moving Items to Empty SpaceLocked
  325. 2463Minimum Total Distance TraveledWatch
  326. 2465Number of Distinct AveragesWatch
  327. 2475Number of Unequal Triplets in ArrayWatch
  328. 2491Divide Players Into Teams of Equal SkillWatch
  329. 2497Maximum Star Sum of a GraphWatch
  330. 2500Delete Greatest Value in Each RowWatch
  331. 2501Longest Square Streak in an ArrayWatch
  332. 2503Maximum Number of Points From Grid QueriesWatch
  333. 2512Reward Top K StudentsWatch
  334. 2517Maximum Tastiness of Candy BasketWatch
  335. 2542Maximum Subsequence ScoreWatch
  336. 2545Sort the Students by Their Kth ScoreWatch
  337. 2548Maximum Price to Fill a BagLocked
  338. 2551Put Marbles in BagsWatch
  339. 2554Maximum Number of Integers to Choose From a Range IWatch
  340. 2557Maximum Number of Integers to Choose From a Range IILocked
  341. 2563Count the Number of Fair PairsWatch
  342. 2567Minimum Score by Changing Two ElementsWatch
  343. 2576Find the Maximum Number of Marked IndicesWatch
  344. 2578Split With Minimum SumWatch
  345. 2580Count Ways to Group Overlapping RangesWatch
  346. 2583Kth Largest Sum in a Binary TreeWatch
  347. 2587Rearrange Array to Maximize Prefix ScoreWatch
  348. 2589Minimum Time to Complete All TasksWatch
  349. 2590Design a Todo ListLocked
  350. 2592Maximize Greatness of an ArrayWatch
  351. 2593Find Score of an Array After Marking All ElementsWatch
  352. 2597The Number of Beautiful SubsetsWatch
  353. 2602Minimum Operations to Make All Array Elements EqualWatch
  354. 2604Minimum Time to Eat All GrainsLocked
  355. 2607Make K-Subarray Sums EqualWatch
  356. 2611Mice and CheeseWatch
  357. 2613Beautiful PairsLocked
  358. 2616Minimize the Maximum Difference of PairsWatch
  359. 2638Count the Number of K-Free SubsetsLocked
  360. 2655Find Maximal Uncovered RangesLocked
  361. 2659Make Array EmptyWatch
  362. 2679Sum in a MatrixWatch
  363. 2681Power of HeroesWatch
  364. 2706Buy Two ChocolatesWatch
  365. 2708Maximum Strength of a GroupWatch
  366. 2713Maximum Strictly Increasing Cells in a MatrixWatch
  367. 2731Movement of RobotsWatch
  368. 2733Neither Minimum nor MaximumWatch
  369. 2736Maximum Sum QueriesWatch
  370. 2740Find the Value of the PartitionWatch
  371. 2747Count Zero Request ServersWatch
  372. 2751Robot CollisionsWatch
  373. 2766Relocate MarblesWatch
  374. 2779Maximum Beauty of an Array After Applying OperationWatch
  375. 2780Minimum Index of a Valid SplitWatch
  376. 2784Check if Array is GoodWatch
  377. 2785Sort Vowels in a StringWatch
  378. 2790Maximum Number of Groups With Increasing LengthWatch
  379. 2809Minimum Time to Make Array Sum At Most xWatch
  380. 2813Maximum Elegance of a K-Length SubsequenceWatch
  381. 2818Apply Operations to Maximize ScoreWatch
  382. 2819Minimum Relative Loss After Buying ChocolatesLocked
  383. 2824Count Pairs Whose Sum is Less than TargetWatch
  384. 2830Maximize the Profit as the SalesmanWatch
  385. 2838Maximum Coins Heroes Can CollectLocked
  386. 2840Check if Strings Can be Made Equal With Operations IIWatch
  387. 2842Count K-Subsequences of a String With Maximum BeautyWatch
  388. 2860Happy StudentsWatch
  389. 2863Maximum Length of Semi-Decreasing SubarraysLocked
  390. 2895Minimum Processing TimeWatch
  391. 2931Maximum Spending After Buying ItemsWatch
  392. 2933High-Access EmployeesWatch
  393. 2943Maximize Area of Square Hole in GridWatch
  394. 2948Make Lexicographically Smallest Array by Swapping ElementsWatch
  395. 2952Minimum Number of Coins to be AddedWatch
  396. 2966Divide Array Into Arrays With Max DifferenceWatch
  397. 2967Minimum Cost to Make Array EqualindromicWatch
  398. 2968Apply Operations to Maximize Frequency ScoreWatch
  399. 2971Find Polygon With the Largest PerimeterWatch
  400. 2973Find Number of Coins to Place in Tree NodesWatch
  401. 2974Minimum Number GameWatch
  402. 2996Smallest Missing Integer Greater Than Sequential Prefix SumWatch
  403. 3009Maximum Number of Intersections on the ChartLocked
  404. 3010Divide an Array Into Subarrays With Minimum Cost IWatch
  405. 3011Find if Array Can Be SortedWatch
  406. 3016Minimum Number of Pushes to Type Word IIWatch
  407. 3024Type of TriangleWatch
  408. 3025Find the Number of Ways to Place People IWatch
  409. 3027Find the Number of Ways to Place People IIWatch
  410. 3035Maximum Palindromes After OperationsWatch
  411. 3039Apply Operations to Make String EmptyWatch
  412. 3041Maximize Consecutive Elements in an Array After ModificationWatch
  413. 3068Find the Maximum Sum of Node ValuesWatch
  414. 3074Apple Redistribution into BoxesWatch
  415. 3075Maximize Happiness of Selected ChildrenWatch
  416. 3080Mark Elements on Array by Performing QueriesWatch
  417. 3081Replace Question Marks in String to Minimize Its ValueWatch
  418. 3085Minimum Deletions to Make String K-SpecialWatch
  419. 3088Make String Anti-palindromeLocked
  420. 3098Find the Sum of Subsequence PowersWatch
  421. 3102Minimize Manhattan DistancesWatch
  422. 3104Find Longest Self-Contained SubstringLocked
  423. 3107Minimum Operations to Make Median of Array Equal to KWatch
  424. 3111Minimum Rectangles to Cover PointsWatch
  425. 3119Maximum Number of Potholes That Can Be FixedLocked
  426. 3125Maximum Number That Makes Result of Bitwise AND ZeroLocked
  427. 3132Find the Integer Added to Array IIWatch
  428. 3143Maximum Points Inside the SquareWatch
  429. 3167Better Compression of StringLocked
  430. 3169Count Days Without MeetingsWatch
  431. 3180Maximum Total Reward Using Operations IWatch
  432. 3181Maximum Total Reward Using Operations IIWatch
  433. 3186Maximum Total Damage With Spell CastingWatch
  434. 3189Minimum Moves to Get a Peaceful BoardLocked
  435. 3194Minimum Average of Smallest and Largest ElementsWatch
  436. 3218Minimum Cost for Cutting Cake IWatch
  437. 3219Minimum Cost for Cutting Cake IIWatch
  438. 3265Count Almost Equal Pairs IWatch
  439. 3267Count Almost Equal Pairs IIWatch
  440. 3273Minimum Amount of Damage Dealt to BobWatch
  441. 3281Maximize Score of Numbers in RangesWatch
  442. 3288Length of the Longest Increasing PathWatch
  443. 3301Maximize the Total Height of Unique TowersWatch
  444. 3319K-th Largest Perfect Subtree Size in Binary TreeWatch
  445. 3323Minimize Connected Groups by Inserting IntervalLocked
  446. 3346Maximum Frequency of an Element After Performing Operations IWatch
  447. 3347Maximum Frequency of an Element After Performing Operations IIWatch
  448. 3362Zero Array Transformation IIIWatch
  449. 3365Rearrange K Substrings to Form Target StringWatch
  450. 3367Maximize Sum of Weights after Edge RemovalsWatch
  451. 3380Maximum Area Rectangle With Point Constraints IWatch
  452. 3382Maximum Area Rectangle With Point Constraints IIWatch
  453. 3394Check if Grid can be Cut into SectionsWatch
  454. 3397Maximum Number of Distinct Elements After OperationsWatch
  455. 3413Maximum Coins From K Consecutive BagsWatch
  456. 3414Maximum Score of Non-overlapping IntervalsWatch
  457. 3424Minimum Cost to Make Arrays IdenticalWatch
  458. 3428Maximum and Minimum Sums of at Most Size K SubsequencesWatch
  459. 3433Count Mentions Per UserWatch
  460. 3446Sort Matrix by DiagonalsWatch
  461. 3457Eat Pizzas!Watch
  462. 3458Select K Disjoint Special SubstringsWatch
  463. 3462Maximum Sum With at Most K ElementsWatch
  464. 3464Maximize the Distance Between Points on a SquareWatch
  465. 3467Transform Array by ParityWatch
  466. 3476Maximize Profit from Task AssignmentLocked
  467. 3478Choose K Elements With Maximum SumWatch
  468. 3491Phone Number PrefixLocked
  469. 3517Smallest Palindromic Rearrangement IWatch
  470. 3531Count Covered BuildingsWatch
  471. 3534Path Existence Queries in a Graph IIWatch
  472. 3536Maximum Product of Two DigitsWatch
  473. 3545Minimum Deletions for At Most K Distinct CharactersWatch
  474. 3551Minimum Swaps to Sort by Digit SumWatch
  475. 3555Smallest Subarray to Sort in Every Sliding WindowLocked
  476. 3556Sum of Largest Prime SubstringsWatch
  477. 3567Minimum Absolute Difference in Sliding SubmatrixWatch
  478. 3572Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesWatch
  479. 3606Coupon Code ValidatorWatch
  480. 3608Minimum Time for K Connected ComponentsWatch
  481. 3613Minimize Maximum Component CostWatch
  482. 3627Maximum Median Sum of Subsequences of Size 3Watch
  483. 3631Sort Threats by Severity and ExploitabilityLocked
  484. 3633Earliest Finish Time for Land and Water Rides IWatch
  485. 3634Minimum Removals to Balance ArrayWatch
  486. 3635Earliest Finish Time for Land and Water Rides IIWatch
  487. 3645Maximum Total from Optimal Activation OrderWatch
  488. 3649Number of Perfect PairsWatch
  489. 3656Determine if a Simple Graph ExistsLocked
  490. 3661Maximum Walls Destroyed by RobotsWatch
  491. 3667Sort Array By Absolute ValueLocked
  492. 3684Maximize Sum of At Most K Distinct ElementsWatch
  493. 3685Subsequence Sum After Capping ElementsWatch
  494. 3695Maximize Alternating Sum Using SwapsWatch
  495. 3727Maximum Alternating Sum of SquaresWatch
  496. 3730Maximum Calories Burnt from JumpsLocked
  497. 3731Find Missing ElementsWatch
  498. 3732Maximum Product of Three Elements After One ReplacementWatch
  499. 3745Maximize Expression of Three ElementsWatch
  500. 3752Lexicographically Smallest Negated Permutation that Sums to TargetWatch
  501. 3759Count Elements With at Least K Greater ValuesWatch
  502. 3762Minimum Operations to Equalize SubarraysWatch
  503. 3763Maximum Total Sum with Threshold ConstraintsLocked
  504. 3767Maximize Points After Choosing K TasksWatch
  505. 3769Sort Integers by Binary ReflectionWatch
  506. 3774Absolute Difference Between Maximum and Minimum K ElementsWatch
  507. 3776Minimum Moves to Balance Circular ArrayWatch
  508. 3780Maximum Sum of Three Numbers Divisible by ThreeWatch
  509. 3799Word Squares IIWatch
  510. 3806Maximum Bitwise AND After Increment OperationsWatch
  511. 3812Minimum Edge Toggles on a TreeWatch
  512. 3814Maximum Capacity Within BudgetWatch
  513. 3842Toggle Light BulbsWatch
  514. 3851Maximum Requests Without Violating the LimitLocked
  515. 3867Sum of GCD of Formed PairsWatch
  516. 3886Sum of Sortable IntegersWatch
  517. 3890Integers With Multiple Sum of Two CubesWatch
  518. 3896Minimum Operations to Transform Array into Alternating PrimeWatch
  519. 3897Maximum Value of Concatenated Binary SegmentsWatch
  520. 3913Sort Vowels by FrequencyWatch
  521. 3920Maximize Fixed Points After DeletionsWatch
  522. 3930Power Update After K-th Largest Insertion IILocked
  523. 3935Power Update After K-th Largest Insertion ILocked
  524. 3947Maximum Number of Items From Sale IIWatch
  525. 3951Minimum Energy to Maintain BrightnessWatch
  526. 3961Maximize Sum of Device RatingsWatch
  527. 3962Maximum Subarray Sum After at Most K SwapsWatch
  528. 3974Maximum Total Sum of K Selected ElementsWatch
  529. 3975Filter Occupied IntervalsWatch
  530. 3992Rearrange String to Avoid Character PairWatch
  531. 4014Minimum Total Price After Applying DiscountsWatch
  532. 4018Total Sum of Interaction Cost in Tree Groups IILocked
  533. 4023Elevator Requests IIWatch
  534. 4027Elevator Requests IIIWatch
  535. 4031Find All Numbers Disappeared in an Array IIWatch
  536. 4055Count Shadow Pairs IIWatch