Skip to content
LEETFLIX

difficulty

Hard LeetCode problems — animated solutions

Hard LeetCode problems collected in one place. Scrub visual walkthroughs of the toughest patterns, with explained Python and Go implementations.

977 problems · 783 animated · 194 locked

Start with a walkthrough

Full Hard index

  1. 4Median of Two Sorted ArraysWatch
  2. 10Regular Expression MatchingWatch
  3. 23Merge k Sorted ListsWatch
  4. 25Reverse Nodes in k-GroupWatch
  5. 30Substring with Concatenation of All WordsWatch
  6. 32Longest Valid ParenthesesWatch
  7. 37Sudoku SolverWatch
  8. 41First Missing PositiveWatch
  9. 42Trapping Rain WaterWatch
  10. 44Wildcard MatchingWatch
  11. 51N-QueensWatch
  12. 52N-Queens IIWatch
  13. 60Permutation SequenceWatch
  14. 65Valid NumberWatch
  15. 68Text JustificationWatch
  16. 76Minimum Window SubstringWatch
  17. 84Largest Rectangle in HistogramWatch
  18. 85Maximal RectangleWatch
  19. 87Scramble StringWatch
  20. 115Distinct SubsequencesWatch
  21. 123Best Time to Buy and Sell Stock IIIWatch
  22. 124Binary Tree Maximum Path SumWatch
  23. 126Word Ladder IIWatch
  24. 127Word LadderWatch
  25. 132Palindrome Partitioning IIWatch
  26. 135CandyWatch
  27. 140Word Break IIWatch
  28. 149Max Points on a LineWatch
  29. 154Find Minimum in Rotated Sorted Array IIWatch
  30. 158Read N Characters Given read4 II - Call Multiple TimesLocked
  31. 174Dungeon GameWatch
  32. 185Department Top Three SalariesWatch
  33. 188Best Time to Buy and Sell Stock IVWatch
  34. 212Word Search IIWatch
  35. 214Shortest PalindromeWatch
  36. 218The Skyline ProblemWatch
  37. 220Contains Duplicate IIIWatch
  38. 224Basic CalculatorWatch
  39. 233Number of Digit OneWatch
  40. 239Sliding Window MaximumWatch
  41. 248Strobogrammatic Number IIILocked
  42. 262Trips and UsersWatch
  43. 265Paint House IILocked
  44. 269Alien DictionaryLocked
  45. 272Closest Binary Search Tree Value IILocked
  46. 273Integer to English WordsWatch
  47. 282Expression Add OperatorsWatch
  48. 295Find Median from Data StreamWatch
  49. 296Best Meeting PointLocked
  50. 297Serialize and Deserialize Binary TreeWatch
  51. 301Remove Invalid ParenthesesWatch
  52. 302Smallest Rectangle Enclosing Black PixelsLocked
  53. 305Number of Islands IILocked
  54. 312Burst BalloonsWatch
  55. 315Count of Smaller Numbers After SelfWatch
  56. 317Shortest Distance from All BuildingsLocked
  57. 321Create Maximum NumberWatch
  58. 327Count of Range SumWatch
  59. 329Longest Increasing Path in a MatrixWatch
  60. 330Patching ArrayWatch
  61. 332Reconstruct ItineraryWatch
  62. 335Self CrossingWatch
  63. 336Palindrome PairsWatch
  64. 352Data Stream as Disjoint IntervalsWatch
  65. 354Russian Doll EnvelopesWatch
  66. 358Rearrange String k Distance ApartLocked
  67. 363Max Sum of Rectangle No Larger Than KWatch
  68. 381Insert Delete GetRandom O(1) - Duplicates allowedWatch
  69. 391Perfect RectangleWatch
  70. 403Frog JumpWatch
  71. 407Trapping Rain Water IIWatch
  72. 410Split Array Largest SumWatch
  73. 411Minimum Unique Word AbbreviationLocked
  74. 420Strong Password CheckerWatch
  75. 425Word SquaresLocked
  76. 428Serialize and Deserialize N-ary TreeLocked
  77. 431Encode N-ary Tree to Binary TreeLocked
  78. 432All O`one Data StructureWatch
  79. 440K-th Smallest in Lexicographical OrderWatch
  80. 446Arithmetic Slices II - SubsequenceWatch
  81. 458Poor PigsWatch
  82. 460LFU CacheWatch
  83. 465Optimal Account BalancingLocked
  84. 466Count The RepetitionsWatch
  85. 471Encode String with Shortest LengthLocked
  86. 472Concatenated WordsWatch
  87. 479Largest Palindrome ProductWatch
  88. 480Sliding Window MedianWatch
  89. 483Smallest Good BaseWatch
  90. 488Zuma GameWatch
  91. 489Robot Room CleanerLocked
  92. 493Reverse PairsWatch
  93. 499The Maze IIILocked
  94. 502IPOWatch
  95. 514Freedom TrailWatch
  96. 517Super Washing MachinesWatch
  97. 527Word AbbreviationLocked
  98. 546Remove BoxesWatch
  99. 548Split Array with Equal SumLocked
  100. 552Student Attendance Record IIWatch
  101. 564Find the Closest PalindromeWatch
  102. 568Maximum Vacation DaysLocked
  103. 569Median Employee SalaryLocked
  104. 571Find Median Given Frequency of NumbersLocked
  105. 579Find Cumulative Salary of an EmployeeLocked
  106. 587Erect the FenceWatch
  107. 588Design In-Memory File SystemLocked
  108. 591Tag ValidatorWatch
  109. 600Non-negative Integers without Consecutive OnesWatch
  110. 601Human Traffic of StadiumWatch
  111. 615Average Salary: Departments VS CompanyLocked
  112. 618Students Report By GeographyLocked
  113. 629K Inverse Pairs ArrayWatch
  114. 630Course Schedule IIIWatch
  115. 631Design Excel Sum FormulaLocked
  116. 632Smallest Range Covering Elements from K ListsWatch
  117. 639Decode Ways IIWatch
  118. 642Design Search Autocomplete SystemLocked
  119. 644Maximum Average Subarray IILocked
  120. 656Coin PathLocked
  121. 660Remove 9Locked
  122. 664Strange PrinterWatch
  123. 668Kth Smallest Number in Multiplication TableWatch
  124. 675Cut Off Trees for Golf EventWatch
  125. 67924 GameWatch
  126. 683K Empty SlotsLocked
  127. 685Redundant Connection IIWatch
  128. 689Maximum Sum of 3 Non-Overlapping SubarraysWatch
  129. 691Stickers to Spell WordWatch
  130. 699Falling SquaresWatch
  131. 710Random Pick with BlacklistWatch
  132. 711Number of Distinct Islands IILocked
  133. 715Range ModuleWatch
  134. 716Max StackLocked
  135. 719Find K-th Smallest Pair DistanceWatch
  136. 726Number of AtomsWatch
  137. 727Minimum Window SubsequenceLocked
  138. 730Count Different Palindromic SubsequencesWatch
  139. 732My Calendar IIIWatch
  140. 736Parse Lisp ExpressionWatch
  141. 741Cherry PickupWatch
  142. 745Prefix and Suffix SearchWatch
  143. 749Contain VirusWatch
  144. 753Cracking the SafeWatch
  145. 757Set Intersection Size At Least TwoWatch
  146. 759Employee Free TimeLocked
  147. 761Special Binary StringWatch
  148. 765Couples Holding HandsWatch
  149. 768Max Chunks To Make Sorted IIWatch
  150. 770Basic Calculator IVWatch
  151. 772Basic Calculator IIILocked
  152. 773Sliding PuzzleWatch
  153. 774Minimize Max Distance to Gas StationLocked
  154. 778Swim in Rising WaterWatch
  155. 780Reaching PointsWatch
  156. 782Transform to ChessboardWatch
  157. 793Preimage Size of Factorial Zeroes FunctionWatch
  158. 798Smallest Rotation with Highest ScoreWatch
  159. 801Minimum Swaps To Make Sequences IncreasingWatch
  160. 803Bricks Falling When HitWatch
  161. 805Split Array With Same AverageWatch
  162. 810Chalkboard XOR GameWatch
  163. 815Bus RoutesWatch
  164. 818Race CarWatch
  165. 827Making A Large IslandWatch
  166. 828Count Unique Characters of All Substrings of a Given StringWatch
  167. 829Consecutive Numbers SumWatch
  168. 834Sum of Distances in TreeWatch
  169. 839Similar String GroupsWatch
  170. 843Guess the WordWatch
  171. 847Shortest Path Visiting All NodesWatch
  172. 850Rectangle Area IIWatch
  173. 854K-Similar StringsWatch
  174. 857Minimum Cost to Hire K WorkersWatch
  175. 862Shortest Subarray with Sum at Least KWatch
  176. 864Shortest Path to Get All KeysWatch
  177. 871Minimum Number of Refueling StopsWatch
  178. 878Nth Magical NumberWatch
  179. 879Profitable SchemesWatch
  180. 882Reachable Nodes In Subdivided GraphWatch
  181. 887Super Egg DropWatch
  182. 891Sum of Subsequence WidthsWatch
  183. 895Maximum Frequency StackWatch
  184. 899Orderly QueueWatch
  185. 902Numbers At Most N Given Digit SetWatch
  186. 903Valid Permutations for DI SequenceWatch
  187. 906Super PalindromesWatch
  188. 913Cat and MouseWatch
  189. 920Number of Music PlaylistsWatch
  190. 924Minimize Malware SpreadWatch
  191. 927Three Equal PartsWatch
  192. 928Minimize Malware Spread IIWatch
  193. 936Stamping The SequenceWatch
  194. 940Distinct Subsequences IIWatch
  195. 943Find the Shortest SuperstringWatch
  196. 952Largest Component Size by Common FactorWatch
  197. 956Tallest BillboardWatch
  198. 960Delete Columns to Make Sorted IIIWatch
  199. 964Least Operators to Express NumberWatch
  200. 968Binary Tree CamerasWatch
  201. 972Equal Rational NumbersWatch
  202. 975Odd Even JumpWatch
  203. 980Unique Paths IIIWatch
  204. 982Triples with Bitwise AND Equal To ZeroWatch
  205. 987Vertical Order Traversal of a Binary TreeWatch
  206. 992Subarrays with K Different IntegersWatch
  207. 995Minimum Number of K Consecutive Bit FlipsWatch
  208. 996Number of Squareful ArraysWatch
  209. 1000Minimum Cost to Merge StonesWatch
  210. 1001Grid IlluminationWatch
  211. 1012Numbers With Repeated DigitsWatch
  212. 1028Recover a Tree From Preorder TraversalWatch
  213. 1032Stream of CharactersWatch
  214. 1036Escape a Large MazeWatch
  215. 1044Longest Duplicate SubstringWatch
  216. 1063Number of Valid SubarraysLocked
  217. 1067Digit Count in RangeLocked
  218. 1074Number of Submatrices That Sum to TargetWatch
  219. 1088Confusing Number IILocked
  220. 1092Shortest Common Supersequence Watch
  221. 1095Find in Mountain ArrayWatch
  222. 1096Brace Expansion IIWatch
  223. 1097Game Play Analysis VLocked
  224. 1106Parsing A Boolean ExpressionWatch
  225. 1121Divide Array Into Increasing SequencesLocked
  226. 1125Smallest Sufficient TeamWatch
  227. 1127User Purchase PlatformLocked
  228. 1147Longest Chunked Palindrome DecompositionWatch
  229. 1153String Transforms Into Another StringLocked
  230. 1157Online Majority Element In SubarrayWatch
  231. 1159Market Analysis IILocked
  232. 1163Last Substring in Lexicographical OrderWatch
  233. 1168Optimize Water Distribution in a VillageLocked
  234. 1172Dinner Plate StacksWatch
  235. 1178Number of Valid Words for Each PuzzleWatch
  236. 1183Maximum Number of OnesLocked
  237. 1187Make Array Strictly IncreasingWatch
  238. 1192Critical Connections in a NetworkWatch
  239. 1194Tournament WinnersLocked
  240. 1199Minimum Time to Build BlocksLocked
  241. 1203Sort Items by Groups Respecting DependenciesWatch
  242. 1206Design SkiplistWatch
  243. 1210Minimum Moves to Reach Target with RotationsWatch
  244. 1216Valid Palindrome IIILocked
  245. 1220Count Vowels PermutationWatch
  246. 1223Dice Roll SimulationWatch
  247. 1224Maximum Equal FrequencyWatch
  248. 1225Report Contiguous DatesLocked
  249. 1231Divide ChocolateLocked
  250. 1235Maximum Profit in Job SchedulingWatch
  251. 1240Tiling a Rectangle with the Fewest SquaresWatch
  252. 1246Palindrome RemovalLocked
  253. 1250Check If It Is a Good ArrayWatch
  254. 1255Maximum Score Words Formed by LettersWatch
  255. 1259Handshakes That Don't CrossLocked
  256. 1263Minimum Moves to Move a Box to Their Target LocationWatch
  257. 1269Number of Ways to Stay in the Same Place After Some StepsWatch
  258. 1274Number of Ships in a RectangleLocked
  259. 1278Palindrome Partitioning IIIWatch
  260. 1284Minimum Number of Flips to Convert Binary Matrix to Zero MatrixWatch
  261. 1289Minimum Falling Path Sum IIWatch
  262. 1293Shortest Path in a Grid with Obstacles EliminationWatch
  263. 1298Maximum Candies You Can Get from BoxesWatch
  264. 1301Number of Paths with Max ScoreWatch
  265. 1307Verbal Arithmetic PuzzleWatch
  266. 1312Minimum Insertion Steps to Make a String PalindromeWatch
  267. 1316Distinct Echo SubstringsWatch
  268. 1320Minimum Distance to Type a Word Using Two FingersWatch
  269. 1326Minimum Number of Taps to Open to Water a GardenWatch
  270. 1330Reverse Subarray To Maximize Array ValueWatch
  271. 1335Minimum Difficulty of a Job ScheduleWatch
  272. 1336Number of Transactions per VisitLocked
  273. 1340Jump Game VWatch
  274. 1345Jump Game IVWatch
  275. 1349Maximum Students Taking ExamWatch
  276. 1354Construct Target Array With Multiple SumsWatch
  277. 1359Count All Valid Pickup and Delivery OptionsWatch
  278. 1363Largest Multiple of ThreeWatch
  279. 1368Minimum Cost to Make at Least One Valid Path in a GridWatch
  280. 1369Get the Second Most Recent ActivityLocked
  281. 1373Maximum Sum BST in Binary TreeWatch
  282. 1377Frog Position After T SecondsWatch
  283. 1383Maximum Performance of a TeamWatch
  284. 1384Total Sales Amount by YearLocked
  285. 1388Pizza With 3n SlicesWatch
  286. 1392Longest Happy PrefixWatch
  287. 1397Find All Good StringsWatch
  288. 1402Reducing DishesWatch
  289. 1406Stone Game IIIWatch
  290. 1411Number of Ways to Paint N × 3 GridWatch
  291. 1412Find the Quiet Students in All ExamsLocked
  292. 1416Restore The ArrayWatch
  293. 1420Build Array Where You Can Find The Maximum Exactly K ComparisonsWatch
  294. 1425Constrained Subsequence SumWatch
  295. 1434Number of Ways to Wear Different Hats to Each OtherWatch
  296. 1439Find the Kth Smallest Sum of a Matrix With Sorted RowsWatch
  297. 1444Number of Ways of Cutting a PizzaWatch
  298. 1449Form Largest Integer With Digits That Add up to TargetWatch
  299. 1453Maximum Number of Darts Inside of a Circular DartboardWatch
  300. 1458Max Dot Product of Two SubsequencesWatch
  301. 1463Cherry Pickup IIWatch
  302. 1467Probability of a Two Boxes Having The Same Number of Distinct BallsWatch
  303. 1473Paint House IIIWatch
  304. 1478Allocate MailboxesWatch
  305. 1479Sales by Day of the WeekLocked
  306. 1483Kth Ancestor of a Tree NodeWatch
  307. 1489Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeWatch
  308. 1494Parallel Courses IIWatch
  309. 1499Max Value of EquationWatch
  310. 1505Minimum Possible Integer After at Most K Adjacent Swaps On DigitsWatch
  311. 1510Stone Game IVWatch
  312. 1515Best Position for a Service CentreWatch
  313. 1516Move Sub-Tree of N-Ary TreeLocked
  314. 1520Maximum Number of Non-Overlapping SubstringsWatch
  315. 1521Find a Value of a Mysterious Function Closest to TargetWatch
  316. 1526Minimum Number of Increments on Subarrays to Form a Target ArrayWatch
  317. 1531String Compression IIWatch
  318. 1537Get the Maximum ScoreWatch
  319. 1542Find Longest Awesome SubstringWatch
  320. 1547Minimum Cost to Cut a StickWatch
  321. 1548The Most Similar Path in a GraphLocked
  322. 1553Minimum Number of Days to Eat N OrangesWatch
  323. 1563Stone Game VWatch
  324. 1568Minimum Number of Days to Disconnect IslandWatch
  325. 1569Number of Ways to Reorder Array to Get Same BSTWatch
  326. 1575Count All Possible RoutesWatch
  327. 1579Remove Max Number of Edges to Keep Graph Fully TraversableWatch
  328. 1585Check If String Is Transformable With Substring Sort OperationsWatch
  329. 1591Strange Printer IIWatch
  330. 1595Minimum Cost to Connect Two Groups of PointsWatch
  331. 1597Build Binary Expression Tree From Infix ExpressionLocked
  332. 1601Maximum Number of Achievable Transfer RequestsWatch
  333. 1606Find Servers That Handled Most Number of RequestsWatch
  334. 1610Maximum Number of Visible PointsWatch
  335. 1611Minimum One Bit Operations to Make Integers ZeroWatch
  336. 1617Count Subtrees With Max Distance Between CitiesWatch
  337. 1622Fancy SequenceWatch
  338. 1627Graph Connectivity With ThresholdWatch
  339. 1632Rank Transform of a MatrixWatch
  340. 1635Hopper Company Queries ILocked
  341. 1639Number of Ways to Form a Target String Given a DictionaryWatch
  342. 1643Kth Smallest InstructionsWatch
  343. 1645Hopper Company Queries IILocked
  344. 1649Create Sorted Array through InstructionsWatch
  345. 1651Hopper Company Queries IIILocked
  346. 1655Distribute Repeating IntegersWatch
  347. 1659Maximize Grid HappinessWatch
  348. 1665Minimum Initial Energy to Finish TasksWatch
  349. 1671Minimum Number of Removals to Make Mountain ArrayWatch
  350. 1675Minimize Deviation in ArrayWatch
  351. 1681Minimum IncompatibilityWatch
  352. 1687Delivering Boxes from Storage to PortsWatch
  353. 1691Maximum Height by Stacking Cuboids Watch
  354. 1692Count Ways to Distribute CandiesLocked
  355. 1697Checking Existence of Edge Length Limited PathsWatch
  356. 1703Minimum Adjacent Swaps for K Consecutive OnesWatch
  357. 1707Maximum XOR With an Element From ArrayWatch
  358. 1713Minimum Operations to Make a SubsequenceWatch
  359. 1714Sum Of Special Evenly-Spaced Elements In ArrayLocked
  360. 1719Number Of Ways To Reconstruct A TreeWatch
  361. 1723Find Minimum Time to Finish All JobsWatch
  362. 1724Checking Existence of Edge Length Limited Paths IILocked
  363. 1728Cat and Mouse IIWatch
  364. 1735Count Ways to Make Array With ProductWatch
  365. 1739Building BoxesWatch
  366. 1745Palindrome Partitioning IVWatch
  367. 1751Maximum Number of Events That Can Be Attended IIWatch
  368. 1755Closest Subsequence SumWatch
  369. 1761Minimum Degree of a Connected Trio in a GraphWatch
  370. 1766Tree of CoprimesWatch
  371. 1767Find the Subtasks That Did Not ExecuteLocked
  372. 1770Maximum Score from Performing Multiplication OperationsWatch
  373. 1771Maximize Palindrome Length From SubsequencesWatch
  374. 1776Car Fleet IIWatch
  375. 1782Count Pairs Of NodesWatch
  376. 1787Make the XOR of All Segments Equal to ZeroWatch
  377. 1788Maximize the Beauty of the GardenLocked
  378. 1793Maximum Score of a Good SubarrayWatch
  379. 1799Maximize Score After N OperationsWatch
  380. 1803Count Pairs With XOR in a RangeWatch
  381. 1808Maximize Number of Nice DivisorsWatch
  382. 1815Maximum Number of Groups Getting Fresh DonutsWatch
  383. 1819Number of Different Subsequences GCDsWatch
  384. 1825Finding MK AverageWatch
  385. 1830Minimum Number of Operations to Make String SortedWatch
  386. 1835Find XOR Sum of All Pairs Bitwise ANDWatch
  387. 1840Maximum Building HeightWatch
  388. 1842Next Palindrome Using Same DigitsLocked
  389. 1847Closest RoomWatch
  390. 1851Minimum Interval to Include Each QueryWatch
  391. 1857Largest Color Value in a Directed GraphWatch
  392. 1862Sum of Floored PairsWatch
  393. 1866Number of Ways to Rearrange Sticks With K Sticks VisibleWatch
  394. 1872Stone Game VIIIWatch
  395. 1879Minimum XOR Sum of Two ArraysWatch
  396. 1883Minimum Skips to Arrive at Meeting On TimeWatch
  397. 1889Minimum Space Wasted From PackagingWatch
  398. 1892Page Recommendations IILocked
  399. 1896Minimum Cost to Change the Final Value of ExpressionWatch
  400. 1900The Earliest and Latest Rounds Where Players CompeteWatch
  401. 1912Design Movie Rental SystemWatch
  402. 1916Count Ways to Build Rooms in an Ant ColonyWatch
  403. 1917Leetcodify Friends RecommendationsLocked
  404. 1919Leetcodify Similar FriendsLocked
  405. 1923Longest Common SubpathWatch
  406. 1924Erect the Fence IILocked
  407. 1928Minimum Cost to Reach Destination in TimeWatch
  408. 1931Painting a Grid With Three Different ColorsWatch
  409. 1932Merge BSTs to Create Single BSTWatch
  410. 1938Maximum Genetic Difference QueryWatch
  411. 1944Number of Visible People in a QueueWatch
  412. 1948Delete Duplicate Folders in SystemWatch
  413. 1955Count Number of Special SubsequencesWatch
  414. 1956Minimum Time For K Virus Variants to SpreadLocked
  415. 1960Maximum Product of the Length of Two Palindromic SubstringsWatch
  416. 1964Find the Longest Valid Obstacle Course at Each PositionWatch
  417. 1970Last Day Where You Can Still CrossWatch
  418. 1972First and Last Call On the Same DayLocked
  419. 1977Number of Ways to Separate NumbersWatch
  420. 1982Find Array Given Subset SumsWatch
  421. 1987Number of Unique Good SubsequencesWatch
  422. 1994The Number of Good SubsetsWatch
  423. 1998GCD Sort of an ArrayWatch
  424. 2003Smallest Missing Genetic Value in Each SubtreeWatch
  425. 2004The Number of Seniors and Juniors to Join the CompanyLocked
  426. 2005Subtree Removal Game with Fibonacci TreeLocked
  427. 2009Minimum Number of Operations to Make Array ContinuousWatch
  428. 2010The Number of Seniors and Juniors to Join the Company IILocked
  429. 2014Longest Subsequence Repeated k TimesWatch
  430. 2019The Score of Students Solving Math ExpressionWatch
  431. 2025Maximum Number of Ways to Partition an ArrayWatch
  432. 2030Smallest K-Length Subsequence With Occurrences of a LetterWatch
  433. 2035Partition Array Into Two Arrays to Minimize Sum DifferenceWatch
  434. 2040Kth Smallest Product of Two Sorted ArraysWatch
  435. 2045Second Minimum Time to Reach DestinationWatch
  436. 2050Parallel Courses IIIWatch
  437. 2056Number of Valid Move Combinations On ChessboardWatch
  438. 2060Check if an Original String Exists Given Two Encoded StringsWatch
  439. 2065Maximum Path Quality of a GraphWatch
  440. 2071Maximum Number of Tasks You Can AssignWatch
  441. 2076Process Restricted Friend RequestsWatch
  442. 2081Sum of k-Mirror NumbersWatch
  443. 2088Count Fertile Pyramids in a LandWatch
  444. 2092Find All People With SecretWatch
  445. 2097Valid Arrangement of PairsWatch
  446. 2102Sequentially Ordinal Rank TrackerWatch
  447. 2106Maximum Fruits Harvested After at Most K StepsWatch
  448. 2111Minimum Operations to Make the Array K-IncreasingWatch
  449. 2117Abbreviating the Product of a RangeWatch
  450. 2118Build the EquationLocked
  451. 2122Recover the Original ArrayWatch
  452. 2123Minimum Operations to Remove Adjacent Ones in MatrixLocked
  453. 2127Maximum Employees to Be Invited to a MeetingWatch
  454. 2132Stamping the GridWatch
  455. 2136Earliest Possible Day of Full BloomWatch
  456. 2141Maximum Running Time of N ComputersWatch
  457. 2143Choose Numbers From Two Arrays in RangeLocked
  458. 2147Number of Ways to Divide a Long CorridorWatch
  459. 2151Maximum Good People Based on StatementsWatch
  460. 2153The Number of Passengers in Each Bus IILocked
  461. 2156Find Substring With Given Hash ValueWatch
  462. 2157Groups of StringsWatch
  463. 2158Amount of New Area Painted Each DayLocked
  464. 2163Minimum Difference in Sums After Removal of ElementsWatch
  465. 2167Minimum Time to Remove All Cars Containing Illegal GoodsWatch
  466. 2172Maximum AND Sum of ArrayWatch
  467. 2173Longest Winning StreakLocked
  468. 2179Count Good Triplets in an ArrayWatch
  469. 2183Count Array Pairs Divisible by KWatch
  470. 2188Minimum Time to Finish the RaceWatch
  471. 2193Minimum Number of Moves to Make PalindromeWatch
  472. 2197Replace Non-Coprime Numbers in ArrayWatch
  473. 2199Finding the Topic of Each PostLocked
  474. 2203Minimum Weighted Subgraph With the Required PathsWatch
  475. 2204Distance to a Cycle in Undirected GraphLocked
  476. 2209Minimum White Tiles After Covering With CarpetsWatch
  477. 2213Longest Substring of One Repeating CharacterWatch
  478. 2218Maximum Value of K Coins From PilesWatch
  479. 2223Sum of Scores of Built StringsWatch
  480. 2227Encrypt and Decrypt StringsWatch
  481. 2234Maximum Total Beauty of the GardensWatch
  482. 2242Maximum Score of a Node SequenceWatch
  483. 2246Longest Path With Different Adjacent CharactersWatch
  484. 2247Maximum Cost of Trip With K HighwaysLocked
  485. 2251Number of Flowers in Full BloomWatch
  486. 2252Dynamic Pivoting of a TableLocked
  487. 2253Dynamic Unpivoting of a TableLocked
  488. 2254Design Video Sharing PlatformLocked
  489. 2258Escape the Spreading FireWatch
  490. 2262Total Appeal of A StringWatch
  491. 2263Make Array Non-decreasing or Non-increasingLocked
  492. 2267 Check if There Is a Valid Parentheses String PathWatch
  493. 2272Substring With Largest VarianceWatch
  494. 2276Count Integers in IntervalsWatch
  495. 2277Closest Node to Path in TreeLocked
  496. 2281Sum of Total Strength of WizardsWatch
  497. 2286Booking Concert Tickets in GroupsWatch
  498. 2290Minimum Obstacle Removal to Reach CornerWatch
  499. 2296Design a Text EditorWatch
  500. 2301Match Substring After ReplacementWatch
  501. 2302Count Subarrays With Score Less Than KWatch
  502. 2306Naming a CompanyWatch
  503. 2307Check for Contradictions in EquationsLocked
  504. 2312Selling Pieces of WoodWatch
  505. 2313Minimum Flips in Binary Tree to Get ResultLocked
  506. 2318Number of Distinct Roll SequencesWatch
  507. 2321Maximum Score Of Spliced ArrayWatch
  508. 2322Minimum Score After Removals on a TreeWatch
  509. 2328Number of Increasing Paths in a GridWatch
  510. 2334Subarray With Elements Greater Than Varying ThresholdWatch
  511. 2338Count the Number of Ideal ArraysWatch
  512. 2344Minimum Deletions to Make Array DivisibleWatch
  513. 2350Shortest Impossible Sequence of RollsWatch
  514. 2354Number of Excellent PairsWatch
  515. 2355Maximum Number of Books You Can TakeLocked
  516. 2360Longest Cycle in a GraphWatch
  517. 2361Minimum Costs Using the Train LineLocked
  518. 2362Generate the InvoiceLocked
  519. 2366Minimum Replacements to Sort the ArrayWatch
  520. 2371Minimize Maximum Value in a GridLocked
  521. 2376Count Special IntegersWatch
  522. 2382Maximum Segment Sum After RemovalsWatch
  523. 2386Find the K-Sum of an ArrayWatch
  524. 2392Build a Matrix With ConditionsWatch
  525. 2398Maximum Number of Robots Within BudgetWatch
  526. 2402Meeting Rooms IIIWatch
  527. 2403Minimum Time to Kill All MonstersLocked
  528. 2407Longest Increasing Subsequence IIWatch
  529. 2412Minimum Money Required Before TransactionsWatch
  530. 2416Sum of Prefix Scores of StringsWatch
  531. 2421Number of Good PathsWatch
  532. 2426Number of Pairs Satisfying InequalityWatch
  533. 2430Maximum Deletions on a StringWatch
  534. 2435Paths in Matrix Whose Sum Is Divisible by KWatch
  535. 2440Create Components With Same ValueWatch
  536. 2444Count Subarrays With Fixed BoundsWatch
  537. 2448Minimum Cost to Make Array EqualWatch
  538. 2449Minimum Number of Operations to Make Arrays SimilarWatch
  539. 2454Next Greater Element IVWatch
  540. 2458Height of Binary Tree After Subtree Removal QueriesWatch
  541. 2459Sort Array by Moving Items to Empty SpaceLocked
  542. 2463Minimum Total Distance TraveledWatch
  543. 2468Split Message Based on LimitWatch
  544. 2472Maximum Number of Non-overlapping Palindrome SubstringsWatch
  545. 2474Customers With Strictly Increasing PurchasesLocked
  546. 2478Number of Beautiful PartitionsWatch
  547. 2479Maximum XOR of Two Non-Overlapping SubtreesLocked
  548. 2484Count Palindromic SubsequencesWatch
  549. 2488Count Subarrays With Median KWatch
  550. 2493Divide Nodes Into the Maximum Number of GroupsWatch
  551. 2494Merge Overlapping Events in the Same HallLocked
  552. 2499Minimum Total Cost to Make Arrays UnequalWatch
  553. 2503Maximum Number of Points From Grid QueriesWatch
  554. 2508Add Edges to Make Degrees of All Nodes EvenWatch
  555. 2509Cycle Length Queries in a TreeWatch
  556. 2514Count AnagramsWatch
  557. 2518Number of Great PartitionsWatch
  558. 2519Count the Number of K-Big IndicesLocked
  559. 2524Maximum Frequency Score of a SubarrayLocked
  560. 2528Maximize the Minimum Powered CityWatch
  561. 2532Time to Cross a BridgeWatch
  562. 2534Time Taken to Cross the DoorLocked
  563. 2538Difference Between Maximum and Minimum Price SumWatch
  564. 2543Check if Point Is ReachableWatch
  565. 2547Minimum Cost to Split an ArrayWatch
  566. 2551Put Marbles in BagsWatch
  567. 2552Count Increasing QuadrupletsWatch
  568. 2561Rearranging FruitsWatch
  569. 2565Subsequence With the Minimum ScoreWatch
  570. 2569Handling Sum Queries After UpdateWatch
  571. 2573Find the String with LCPWatch
  572. 2577Minimum Time to Visit a Cell In a GridWatch
  573. 2581Count Number of Possible Root NodesWatch
  574. 2584Split the Array to Make Coprime ProductsWatch
  575. 2585Number of Ways to Earn PointsWatch
  576. 2589Minimum Time to Complete All TasksWatch
  577. 2603Collect Coins in a TreeWatch
  578. 2604Minimum Time to Eat All GrainsLocked
  579. 2608Shortest Cycle in a GraphWatch
  580. 2612Minimum Reverse OperationsWatch
  581. 2613Beautiful PairsLocked
  582. 2617Minimum Number of Visited Cells in a GridWatch
  583. 2630Memoize IIWatch
  584. 2642Design Graph With Shortest Path CalculatorWatch
  585. 2646Minimize the Total Price of the TripsWatch
  586. 2647Color the Triangle RedLocked
  587. 2650Design Cancellable FunctionWatch
  588. 2659Make Array EmptyWatch
  589. 2663Lexicographically Smallest Beautiful StringWatch
  590. 2675Array of Objects to MatrixLocked
  591. 2681Power of HeroesWatch
  592. 2691Immutability HelperLocked
  593. 2699Modify Graph Edge WeightsWatch
  594. 2701Consecutive Transactions with Increasing AmountsLocked
  595. 2702Minimum Operations to Make Numbers Non-positiveLocked
  596. 2709Greatest Common Divisor TraversalWatch
  597. 2713Maximum Strictly Increasing Cells in a MatrixWatch
  598. 2714Find Shortest Path with K HopsLocked
  599. 2719Count of IntegersWatch
  600. 2720Popularity PercentageLocked
  601. 2732Find a Good Subset of the MatrixWatch
  602. 2736Maximum Sum QueriesWatch
  603. 2742Painting the WallsWatch
  604. 2751Robot CollisionsWatch
  605. 2752Customers with Maximum Number of Transactions on Consecutive DaysLocked
  606. 2753Count Houses in a Circular Street IILocked
  607. 2756Query BatchingLocked
  608. 2759Convert JSON String to ObjectLocked
  609. 2763Sum of Imbalance Numbers of All SubarraysWatch
  610. 2781Length of the Longest Valid SubstringWatch
  611. 2790Maximum Number of Groups With Increasing LengthWatch
  612. 2791Count Paths That Can Form a Palindrome in a TreeWatch
  613. 2792Count Nodes That Are Great EnoughLocked
  614. 2793Status of Flight TicketsLocked
  615. 2801Count Stepping Numbers in RangeWatch
  616. 2809Minimum Time to Make Array Sum At Most xWatch
  617. 2813Maximum Elegance of a K-Length SubsequenceWatch
  618. 2814Minimum Time Takes to Reach Destination Without DrowningLocked
  619. 2818Apply Operations to Maximize ScoreWatch
  620. 2819Minimum Relative Loss After Buying ChocolatesLocked
  621. 2827Number of Beautiful Integers in the RangeWatch
  622. 2835Minimum Operations to Form Subsequence With Target SumWatch
  623. 2836Maximize Value of Function in a Ball Passing GameWatch
  624. 2842Count K-Subsequences of a String With Maximum BeautyWatch
  625. 2846Minimum Edge Weight Equilibrium Queries in a TreeWatch
  626. 2851String TransformationWatch
  627. 2858Minimum Edge Reversals So Every Node Is ReachableWatch
  628. 2862Maximum Element-Sum of a Complete Subset of IndicesWatch
  629. 2867Count Valid Paths in a TreeWatch
  630. 2868The Wording GameLocked
  631. 2872Maximum Number of K-Divisible ComponentsWatch
  632. 2876Count Visited Nodes in a Directed GraphWatch
  633. 2897Apply Operations on Array to Maximize Sum of SquaresWatch
  634. 2902Count of Sub-Multisets With Bounded SumWatch
  635. 2911Minimum Changes to Make K Semi-palindromesWatch
  636. 2912Number of Ways to Reach Destination in the GridLocked
  637. 2916Subarrays Distinct Element Sum of Squares IIWatch
  638. 2920Maximum Points After Collecting Coins From All NodesWatch
  639. 2921Maximum Profitable Triplets With Increasing Prices IILocked
  640. 2926Maximum Balanced Subsequence SumWatch
  641. 2927Distribute Candies Among Children IIILocked
  642. 2931Maximum Spending After Buying ItemsWatch
  643. 2935Maximum Strong Pair XOR IIWatch
  644. 2940Find Building Where Alice and Bob Can MeetWatch
  645. 2941Maximum GCD-Sum of a SubarrayLocked
  646. 2945Find Maximum Non-decreasing Array LengthWatch
  647. 2949Count Beautiful Substrings IIWatch
  648. 2953Count Complete SubstringsWatch
  649. 2954Count the Number of Infection SequencesWatch
  650. 2959Number of Possible Sets of Closing BranchesWatch
  651. 2963Count the Number of Good PartitionsWatch
  652. 2968Apply Operations to Maximize Frequency ScoreWatch
  653. 2969Minimum Number of Coins for Fruits IILocked
  654. 2972Count the Number of Incremovable Subarrays IIWatch
  655. 2973Find Number of Coins to Place in Tree NodesWatch
  656. 2977Minimum Cost to Convert String IIWatch
  657. 2983Palindrome Rearrangement QueriesWatch
  658. 2991Top Three Wineries Locked
  659. 2994Friday Purchases II Locked
  660. 2995Viewers Turned StreamersLocked
  661. 2999Count the Number of Powerful IntegersWatch
  662. 3003Maximize the Number of Partitions After OperationsWatch
  663. 3008Find Beautiful Indices in the Given Array IIWatch
  664. 3009Maximum Number of Intersections on the ChartLocked
  665. 3013Divide an Array Into Subarrays With Minimum Cost IIWatch
  666. 3017Count the Number of Houses at a Certain Distance IIWatch
  667. 3018Maximum Number of Removal Queries That Can Be Processed ILocked
  668. 3022Minimize OR of Remaining Elements Using OperationsWatch
  669. 3027Find the Number of Ways to Place People IIWatch
  670. 3031Minimum Time to Revert Word to Initial State IIWatch
  671. 3036Number of Subarrays That Match a Pattern IIWatch
  672. 3037Find Pattern in Infinite Stream IILocked
  673. 3041Maximize Consecutive Elements in an Array After ModificationWatch
  674. 3045Count Prefix and Suffix Pairs IIWatch
  675. 3049Earliest Second to Mark Indices IIWatch
  676. 3052Maximize ItemsLocked
  677. 3057Employees Project AllocationLocked
  678. 3060User Activities within Time BoundsLocked
  679. 3061Calculate Trapping Rain WaterLocked
  680. 3068Find the Maximum Sum of Node ValuesWatch
  681. 3072Distribute Elements Into Two Arrays IIWatch
  682. 3077Maximum Strength of K Disjoint SubarraysWatch
  683. 3082Find the Sum of the Power of All SubsequencesWatch
  684. 3086Minimum Moves to Pick K OnesWatch
  685. 3088Make String Anti-palindromeLocked
  686. 3093Longest Common Suffix QueriesWatch
  687. 3098Find the Sum of Subsequence PowersWatch
  688. 3102Minimize Manhattan DistancesWatch
  689. 3103Find Trending Hashtags II Locked
  690. 3104Find Longest Self-Contained SubstringLocked
  691. 3108Minimum Cost Walk in Weighted GraphWatch
  692. 3113Find the Number of Subarrays Where Boundary Elements Are MaximumWatch
  693. 3116Kth Smallest Amount With Single Denomination CombinationWatch
  694. 3117Minimum Sum of Values by Dividing ArrayWatch
  695. 3123Find Edges in Shortest PathsWatch
  696. 3130Find All Possible Stable Binary Arrays IIWatch
  697. 3134Find the Median of the Uniqueness ArrayWatch
  698. 3139Minimum Cost to Equalize ArrayWatch
  699. 3141Maximum Hamming DistancesLocked
  700. 3145Find Products of Elements of Big ArrayWatch
  701. 3149Find the Minimum Cost Array PermutationWatch
  702. 3154Find Number of Ways to Reach the K-th StairWatch
  703. 3156Employee Task Duration and Concurrent TasksLocked
  704. 3161Block Placement QueriesWatch
  705. 3165Maximum Sum of Subsequence With Non-adjacent ElementsWatch
  706. 3171Find Subarray With Bitwise OR Closest to KWatch
  707. 3177Find the Maximum Length of a Good Subsequence IIWatch
  708. 3181Maximum Total Reward Using Operations IIWatch
  709. 3187Peaks in ArrayWatch
  710. 3188Find Top Scoring Students IILocked
  711. 3193Count the Number of InversionsWatch
  712. 3197Find the Minimum Area to Cover All Ones IIWatch
  713. 3203Find Minimum Diameter After Merging Two TreesWatch
  714. 3209Number of Subarrays With AND Value of KWatch
  715. 3213Construct String with Minimum CostWatch
  716. 3214Year on Year Growth RateLocked
  717. 3219Minimum Cost for Cutting Cake IIWatch
  718. 3225Maximum Score From Grid OperationsWatch
  719. 3229Minimum Operations to Make Array Equal to TargetWatch
  720. 3231Minimum Number of Increasing Subsequence to Be RemovedLocked
  721. 3235Check if the Rectangle Corner Is ReachableWatch
  722. 3236CEO Subordinate HierarchyLocked
  723. 3241Time Taken to Mark All NodesWatch
  724. 3244Shortest Distance After Road Addition Queries IIWatch
  725. 3245Alternating Groups IIIWatch
  726. 3250Find the Count of Monotonic Pairs IWatch
  727. 3251Find the Count of Monotonic Pairs IIWatch
  728. 3256Maximum Value Sum by Placing Three Rooks IWatch
  729. 3257Maximum Value Sum by Placing Three Rooks IIWatch
  730. 3260Find the Largest Palindrome Divisible by KWatch
  731. 3261Count Substrings That Satisfy K-Constraint IIWatch
  732. 3266Final Array State After K Multiplication Operations IIWatch
  733. 3267Count Almost Equal Pairs IIWatch
  734. 3268Find Overlapping Shifts IILocked
  735. 3269Constructing Two Increasing ArraysLocked
  736. 3272Find the Count of Good IntegersWatch
  737. 3273Minimum Amount of Damage Dealt to BobWatch
  738. 3276Select Cells in Grid With Maximum ScoreWatch
  739. 3277Maximum XOR Score Subarray QueriesWatch
  740. 3279Maximum Total Area Occupied by PistonsLocked
  741. 3283Maximum Number of Moves to Kill All PawnsWatch
  742. 3287Find the Maximum Sequence Value of ArrayWatch
  743. 3288Length of the Longest Increasing PathWatch
  744. 3292Minimum Number of Valid Strings to Form Target IIWatch
  745. 3298Count Substrings That Can Be Rearranged to Contain a String IIWatch
  746. 3299Sum of Consecutive SubsequencesLocked
  747. 3303Find the Occurrence of First Almost Equal SubstringWatch
  748. 3307Find the K-th Character in String Game IIWatch
  749. 3311Construct 2D Grid Matching Graph LayoutWatch
  750. 3312Sorted GCD Pair QueriesWatch
  751. 3313Find the Last Marked Nodes in TreeLocked
  752. 3317Find the Number of Possible Ways for an EventWatch
  753. 3320Count The Number of Winning SequencesWatch
  754. 3321Find X-Sum of All K-Long Subarrays IIWatch
  755. 3327Check if DFS Strings Are PalindromesWatch
  756. 3329Count Substrings With K-Frequency Characters IILocked
  757. 3333Find the Original Typed String IIWatch
  758. 3336Find the Number of Subsequences With Equal GCDWatch
  759. 3337Total Characters in String After Transformations IIWatch
  760. 3343Count Number of Balanced PermutationsWatch
  761. 3347Maximum Frequency of an Element After Performing Operations IIWatch
  762. 3348Smallest Divisible Digit Product IIWatch
  763. 3351Sum of Good SubsequencesWatch
  764. 3352Count K-Reducible Numbers Less Than NWatch
  765. 3357Minimize the Maximum Adjacent Element DifferenceWatch
  766. 3359Find Sorted Submatrices With Maximum Element at Most KLocked
  767. 3363Find the Maximum Number of Fruits CollectedWatch
  768. 3367Maximize Sum of Weights after Edge RemovalsWatch
  769. 3368First Letter CapitalizationLocked
  770. 3369Design an Array Statistics Tracker Locked
  771. 3373Maximize the Number of Target Nodes After Connecting Trees IIWatch
  772. 3374First Letter Capitalization IIWatch
  773. 3378Count Connected Components in LCM GraphWatch
  774. 3382Maximum Area Rectangle With Point Constraints IIWatch
  775. 3383Minimum Runes to Add to Cast SpellLocked
  776. 3384Team Dominance by Pass SuccessLocked
  777. 3385Minimum Time to Break Locks IILocked
  778. 3389Minimum Operations to Make Character Frequencies EqualWatch
  779. 3390Longest Team Pass StreakLocked
  780. 3395Subsequences with a Unique Middle Mode IWatch
  781. 3398Smallest Substring With Identical Characters IWatch
  782. 3399Smallest Substring With Identical Characters IIWatch
  783. 3401Find Circular Gift Exchange ChainsLocked
  784. 3405Count the Number of Arrays with K Matching Adjacent ElementsWatch
  785. 3406Find the Lexicographically Largest String From the Box IILocked
  786. 3410Maximize Subarray Sum After Removing All Occurrences of One ElementWatch
  787. 3414Maximum Score of Non-overlapping IntervalsWatch
  788. 3416Subsequences with a Unique Middle Mode IILocked
  789. 3420Count Non-Decreasing Subarrays After K OperationsWatch
  790. 3425Longest Special PathWatch
  791. 3426Manhattan Distances of All Arrangements of PiecesWatch
  792. 3430Maximum and Minimum Sums of at Most Size K SubarraysWatch
  793. 3435Frequencies of Shortest SupersequencesWatch
  794. 3441Minimum Cost Good CaptionWatch
  795. 3444Minimum Increments for Target Multiples in an ArrayWatch
  796. 3445Maximum Difference Between Even and Odd Frequency IIWatch
  797. 3448Count Substrings Divisible By Last DigitWatch
  798. 3449Maximize the Minimum Game ScoreWatch
  799. 3451Find Invalid IP AddressesWatch
  800. 3454Separate Squares IIWatch
  801. 3455Shortest Matching SubstringWatch
  802. 3459Length of Longest V-Shaped Diagonal SegmentWatch
  803. 3463Check If Digits Are Equal in String After Operations IIWatch
  804. 3464Maximize the Distance Between Points on a SquareWatch
  805. 3470Permutations IVWatch
  806. 3474Lexicographically Smallest Generated StringWatch
  807. 3480Maximize Subarrays After Removing One Conflicting PairWatch
  808. 3482Analyze Organization HierarchyWatch
  809. 3485Longest Common Prefix of K Strings After RemovalWatch
  810. 3486Longest Special Path IIWatch
  811. 3490Count Beautiful NumbersWatch
  812. 3495Minimum Operations to Make Array Elements ZeroWatch
  813. 3500Minimum Cost to Divide Array Into SubarraysWatch
  814. 3501Maximize Active Section with Trade IIWatch
  815. 3504Longest Palindrome After Substring Concatenation IIWatch
  816. 3505Minimum Operations to Make Elements Within K Subarrays EqualWatch
  817. 3506Find Time Required to Eliminate Bacterial StrainsLocked
  818. 3509Maximum Product of Subsequences With an Alternating Sum Equal to KWatch
  819. 3510Minimum Pair Removal to Sort Array IIWatch
  820. 3515Shortest Path in a Weighted TreeWatch
  821. 3518Smallest Palindromic Rearrangement IIWatch
  822. 3519Count Numbers with Non-Decreasing Digits Watch
  823. 3525Find X Value of Array IIWatch
  824. 3526Range XOR Queries with Subarray ReversalsLocked
  825. 3530Maximum Profit from Valid Topological Order in DAGWatch
  826. 3533Concatenated DivisibilityWatch
  827. 3534Path Existence Queries in a Graph IIWatch
  828. 3538Merge Operations for Minimum Travel TimeWatch
  829. 3539Find Sum of Array Product of Magical SequencesWatch
  830. 3544Subtree Inversion SumWatch
  831. 3547Maximum Sum of Edge Values in a GraphWatch
  832. 3548Equal Sum Grid Partition IIWatch
  833. 3549Multiply Two PolynomialsLocked
  834. 3553Minimum Weighted Subgraph With the Required Paths IIWatch
  835. 3554Find Category Recommendation PairsWatch
  836. 3559Number of Ways to Assign Edge Weights IIWatch
  837. 3562Maximum Profit from Trading Stocks with DiscountsWatch
  838. 3563Lexicographically Smallest String After Adjacent RemovalsWatch
  839. 3569Maximize Count of Distinct Primes After SplitWatch
  840. 3574Maximize Subarray GCD ScoreWatch
  841. 3575Maximum Good Subtree ScoreWatch
  842. 3579Minimum Steps to Convert String with OperationsWatch
  843. 3585Find Weighted Median Node in TreeWatch
  844. 3590Kth Smallest Path XOR SumWatch
  845. 3594Minimum Time to Transport All IndividualsWatch
  846. 3600Maximize Spanning Tree Stability with UpgradesWatch
  847. 3605Minimum Stability Factor of ArrayWatch
  848. 3609Minimum Moves to Reach Target in GridWatch
  849. 3614Process String with Special Operations IIWatch
  850. 3615Longest Palindromic Path in GraphWatch
  851. 3617Find Students with Study Spiral PatternWatch
  852. 3620Network Recovery PathwaysWatch
  853. 3621Number of Integers With Popcount-Depth Equal to K IWatch
  854. 3624Number of Integers With Popcount-Depth Equal to K IIWatch
  855. 3625Count Number of Trapezoids IIWatch
  856. 3630Partition Array for Maximum XOR and ANDWatch
  857. 3632Subarrays with XOR at Least KLocked
  858. 3636Threshold Majority QueriesWatch
  859. 3640Trionic Array IIWatch
  860. 3646Next Special Palindrome NumberWatch
  861. 3651Minimum Cost Path with TeleportationsWatch
  862. 3655XOR After Range Multiplication Queries IIWatch
  863. 3661Maximum Walls Destroyed by RobotsWatch
  864. 3666Minimum Operations to Equalize Binary StringWatch
  865. 3671Sum of Beautiful SubsequencesWatch
  866. 3673Find Zombie SessionsWatch
  867. 3677Count Binary Palindromic NumbersWatch
  868. 3681Maximum XOR of SubsequencesWatch
  869. 3686Number of Stable SubsequencesWatch
  870. 3691Maximum Total Subarray Value IIWatch
  871. 3695Maximize Alternating Sum Using SwapsWatch
  872. 3699Number of ZigZag Arrays IWatch
  873. 3700Number of ZigZag Arrays IIWatch
  874. 3704Count No-Zero Pairs That Sum to NWatch
  875. 3710Maximum Partition FactorWatch
  876. 3715Sum of Perfect Square AncestorsWatch
  877. 3721Longest Balanced Subarray IIWatch
  878. 3725Count Ways to Choose Coprime Integers from RowsWatch
  879. 3729Count Distinct Subarrays Divisible by K in Sorted ArrayWatch
  880. 3734Lexicographically Smallest Palindromic Permutation Greater Than TargetWatch
  881. 3735Lexicographically Smallest String After Reverse IILocked
  882. 3739Count Subarrays With Majority Element IIWatch
  883. 3743Maximize Cyclic Partition ScoreWatch
  884. 3748Count Stable SubarraysWatch
  885. 3749Evaluate Valid ExpressionsLocked
  886. 3753Total Waviness of Numbers in Range IIWatch
  887. 3757Number of Effective SubsequencesWatch
  888. 3762Minimum Operations to Equalize SubarraysWatch
  889. 3764Most Common Course PairsWatch
  890. 3768Minimum Inversion Count in Subarrays of Fixed LengthWatch
  891. 3772Maximum Subgraph Score in a TreeWatch
  892. 3777Minimum Deletions to Make Alternating SubstringWatch
  893. 3782Last Remaining Integer After Alternating Deletion OperationsWatch
  894. 3785Minimum Swaps to Avoid Forbidden ValuesWatch
  895. 3786Total Sum of Interaction Cost in Tree GroupsWatch
  896. 3791Number of Balanced Integers in a RangeWatch
  897. 3797Count Routes to Climb a Rectangular GridWatch
  898. 3801Minimum Cost to Merge Sorted ListsWatch
  899. 3802Number of Ways to Paint SheetsLocked
  900. 3806Maximum Bitwise AND After Increment OperationsWatch
  901. 3812Minimum Edge Toggles on a TreeWatch
  902. 3816Lexicographically Smallest String After Deleting Duplicate CharactersWatch
  903. 3821Find Nth Smallest Integer With K One BitsWatch
  904. 3826Minimum Partition ScoreWatch
  905. 3830Longest Alternating Subarray After Removing At Most One ElementWatch
  906. 3832Find Users with Persistent Behavior PatternsWatch
  907. 3836Maximum Score Using Exactly K PairsWatch
  908. 3841Palindromic Path Queries in a TreeWatch
  909. 3845Maximum Subarray XOR with Bounded RangeWatch
  910. 3850Count Sequences to KWatch
  911. 3855Sum of K-Digit Numbers in a RangeWatch
  912. 3859Count Subarrays With K Distinct IntegersWatch
  913. 3864Minimum Cost to Partition a Binary StringWatch
  914. 3869Count Fancy Numbers in a RangeWatch
  915. 3873Maximum Points Activated with One AdditionWatch
  916. 3878Count Good SubarraysWatch
  917. 3883Count Non Decreasing Arrays With Given Digit SumsWatch
  918. 3886Sum of Sortable IntegersWatch
  919. 3887Incremental Even-Weighted Cycle QueriesWatch
  920. 3888Minimum Operations to Make All Grid Elements EqualLocked
  921. 3892Minimum Operations to Achieve At Least K PeaksWatch
  922. 3897Maximum Value of Concatenated Binary SegmentsWatch
  923. 3901Good Subsequence QueriesWatch
  924. 3906Count Good Integers on a Grid PathWatch
  925. 3910Count Connected Subgraphs with Even Node SumWatch
  926. 3911K-th Smallest Remaining Even Integer in Subarray QueriesWatch
  927. 3915Maximum Sum of Alternating Subsequence With Distance at Least KWatch
  928. 3916Number of ZigZag Arrays IIILocked
  929. 3920Maximize Fixed Points After DeletionsWatch
  930. 3924Minimum Threshold Path With Limited Heavy EdgesWatch
  931. 3928Minimum Cost to Buy Apples IIWatch
  932. 3929Minimum Partition Score IILocked
  933. 3930Power Update After K-th Largest Insertion IILocked
  934. 3934Smallest Unique SubarrayWatch
  935. 3939Count Non Adjacent Subsets in a Rooted TreeWatch
  936. 3943Number of Pairs After IncrementWatch
  937. 3944Minimum Operations to Make Array Modulo Alternating IILocked
  938. 3948Lexicographically Maximum MEX ArrayWatch
  939. 3949Subtree Inversion Sum IILocked
  940. 3953Maximum Score with Co-Prime ElementWatch
  941. 3956Maximum Sum of M Non-Overlapping Subarrays IWatch
  942. 3957Maximum Sum of M Non-Overlapping Subarrays IIWatch
  943. 3962Maximum Subarray Sum After at Most K SwapsWatch
  944. 3966Count Good Integers in a RangeWatch
  945. 3967Finish Time of Tasks IILocked
  946. 3971Maximum Total ValueWatch
  947. 3972Valid Subarrays With Matching Sum Digits IILocked
  948. 3973Distinct Gate Paths to LCALocked
  949. 3977Minimum Time to Reach Target With Limited PowerWatch
  950. 3981Count Distinct Ways to Form Target from Two StringsWatch
  951. 3985Palindromic Subarray SumWatch
  952. 3989Maximum Consistent Columns in a GridWatch
  953. 3990Create Grid With Exactly K Paths IILocked
  954. 3995Minimum Cost to Convert String IIIWatch
  955. 3999Minimum Number of String Groups Through TransformationsWatch
  956. 4003Minimum Cost Path with Alternating Directions IIIWatch
  957. 4004Minimum Moves to Balance Circular Array IILocked
  958. 4005Minimum Operations to Make Array Equal IIILocked
  959. 4007Widest Possible FenceWatch
  960. 4009Minimum Possible Maximum Waiting TimeWatch
  961. 4013Count Subarrays With Even Odd Ratio IIWatch
  962. 4017Peaks in Array IIWatch
  963. 4018Total Sum of Interaction Cost in Tree Groups IILocked
  964. 4023Elevator Requests IIWatch
  965. 4027Elevator Requests IIIWatch
  966. 4028Minimum Operations to Make a Rotated Palindrome IILocked
  967. 4029Elevator Requests IVLocked
  968. 4033Valid K-Unique Subarrays IWatch
  969. 4037Maximum Valid Split Positions IIWatch
  970. 4041Minimum Operations to Form Subset Sum IIWatch
  971. 4042Valid K-Unique Subarrays IILocked
  972. 4046Minimum Cost Path With At Most K TurnsWatch
  973. 4047Minimum Operations to Make XOR of All Elements ZeroLocked
  974. 4051Count Subarrays with Distant SumsWatch
  975. 4055Count Shadow Pairs IIWatch
  976. 4059Lexicographically Largest Power ArrayWatch
  977. 4060Count Evenly Good IntegersLocked