Skip to content
LEETFLIX

method

Math — animated LeetCode walkthroughs

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

715 problems · 625 animated · 90 locked

Start with a walkthrough

Full Math index

  1. 2Add Two NumbersWatch
  2. 7Reverse IntegerWatch
  3. 9Palindrome NumberWatch
  4. 12Integer to RomanWatch
  5. 13Roman to IntegerWatch
  6. 29Divide Two IntegersWatch
  7. 43Multiply StringsWatch
  8. 48Rotate ImageWatch
  9. 50Pow(x, n)Watch
  10. 60Permutation SequenceWatch
  11. 62Unique PathsWatch
  12. 66Plus OneWatch
  13. 67Add BinaryWatch
  14. 69Sqrt(x)Watch
  15. 70Climbing StairsWatch
  16. 89Gray CodeWatch
  17. 96Unique Binary Search TreesWatch
  18. 149Max Points on a LineWatch
  19. 150Evaluate Reverse Polish NotationWatch
  20. 166Fraction to Recurring DecimalWatch
  21. 168Excel Sheet Column TitleWatch
  22. 171Excel Sheet Column NumberWatch
  23. 172Factorial Trailing ZeroesWatch
  24. 189Rotate ArrayWatch
  25. 202Happy NumberWatch
  26. 204Count PrimesWatch
  27. 223Rectangle AreaWatch
  28. 224Basic CalculatorWatch
  29. 227Basic Calculator IIWatch
  30. 231Power of TwoWatch
  31. 233Number of Digit OneWatch
  32. 241Different Ways to Add ParenthesesWatch
  33. 258Add DigitsWatch
  34. 263Ugly NumberWatch
  35. 264Ugly Number IIWatch
  36. 268Missing NumberWatch
  37. 273Integer to English WordsWatch
  38. 279Perfect SquaresWatch
  39. 282Expression Add OperatorsWatch
  40. 292Nim GameWatch
  41. 294Flip Game IILocked
  42. 296Best Meeting PointLocked
  43. 313Super Ugly NumberWatch
  44. 319Bulb SwitcherWatch
  45. 326Power of ThreeWatch
  46. 335Self CrossingWatch
  47. 342Power of FourWatch
  48. 343Integer BreakWatch
  49. 356Line ReflectionLocked
  50. 357Count Numbers with Unique DigitsWatch
  51. 360Sort Transformed ArrayLocked
  52. 365Water and Jug ProblemWatch
  53. 367Valid Perfect SquareWatch
  54. 368Largest Divisible SubsetWatch
  55. 369Plus One Linked ListLocked
  56. 371Sum of Two IntegersWatch
  57. 372Super PowWatch
  58. 375Guess Number Higher or Lower IIWatch
  59. 380Insert Delete GetRandom O(1)Watch
  60. 381Insert Delete GetRandom O(1) - Duplicates allowedWatch
  61. 382Linked List Random NodeWatch
  62. 384Shuffle an ArrayWatch
  63. 390Elimination GameWatch
  64. 391Perfect RectangleWatch
  65. 396Rotate FunctionWatch
  66. 398Random Pick IndexWatch
  67. 400Nth DigitWatch
  68. 405Convert a Number to HexadecimalWatch
  69. 412Fizz BuzzWatch
  70. 415Add StringsWatch
  71. 423Reconstruct Original Digits from EnglishWatch
  72. 441Arranging CoinsWatch
  73. 445Add Two Numbers IIWatch
  74. 447Number of BoomerangsWatch
  75. 453Minimum Moves to Equal Array ElementsWatch
  76. 458Poor PigsWatch
  77. 462Minimum Moves to Equal Array Elements IIWatch
  78. 464Can I WinWatch
  79. 469Convex PolygonLocked
  80. 470Implement Rand10() Using Rand7()Watch
  81. 477Total Hamming DistanceWatch
  82. 478Generate Random Point in a CircleWatch
  83. 479Largest Palindrome ProductWatch
  84. 483Smallest Good BaseWatch
  85. 486Predict the WinnerWatch
  86. 492Construct the RectangleWatch
  87. 497Random Point in Non-overlapping RectanglesWatch
  88. 504Base 7Watch
  89. 507Perfect NumberWatch
  90. 509Fibonacci NumberWatch
  91. 519Random Flip MatrixWatch
  92. 523Continuous Subarray SumWatch
  93. 528Random Pick with WeightWatch
  94. 537Complex Number MultiplicationWatch
  95. 539Minimum Time DifferenceWatch
  96. 553Optimal DivisionWatch
  97. 556Next Greater Element IIIWatch
  98. 564Find the Closest PalindromeWatch
  99. 573Squirrel SimulationLocked
  100. 587Erect the FenceWatch
  101. 592Fraction Addition and SubtractionWatch
  102. 593Valid SquareWatch
  103. 598Range Addition IIWatch
  104. 625Minimum FactorizationLocked
  105. 628Maximum Product of Three NumbersWatch
  106. 633Sum of Square NumbersWatch
  107. 634Find the Derangement of An ArrayLocked
  108. 640Solve the EquationWatch
  109. 6502 Keys KeyboardWatch
  110. 6514 Keys KeyboardLocked
  111. 660Remove 9Locked
  112. 667Beautiful Arrangement IIWatch
  113. 668Kth Smallest Number in Multiplication TableWatch
  114. 670Maximum SwapWatch
  115. 672Bulb Switcher IIWatch
  116. 67924 GameWatch
  117. 710Random Pick with BlacklistWatch
  118. 728Self Dividing NumbersWatch
  119. 738Monotone Increasing DigitsWatch
  120. 750Number Of Corner RectanglesLocked
  121. 754Reach a NumberWatch
  122. 762Prime Number of Set Bits in Binary RepresentationWatch
  123. 770Basic Calculator IVWatch
  124. 772Basic Calculator IIILocked
  125. 775Global and Local InversionsWatch
  126. 779K-th Symbol in GrammarWatch
  127. 780Reaching PointsWatch
  128. 781Rabbits in ForestWatch
  129. 782Transform to ChessboardWatch
  130. 788Rotated DigitsWatch
  131. 789Escape The GhostsWatch
  132. 793Preimage Size of Factorial Zeroes FunctionWatch
  133. 800Similar RGB ColorLocked
  134. 805Split Array With Same AverageWatch
  135. 808Soup ServingsWatch
  136. 810Chalkboard XOR GameWatch
  137. 812Largest Triangle AreaWatch
  138. 829Consecutive Numbers SumWatch
  139. 836Rectangle OverlapWatch
  140. 837New 21 GameWatch
  141. 840Magic Squares In GridWatch
  142. 843Guess the WordWatch
  143. 858Mirror ReflectionWatch
  144. 866Prime PalindromeWatch
  145. 869Reordered Power of 2Watch
  146. 877Stone GameWatch
  147. 878Nth Magical NumberWatch
  148. 883Projection Area of 3D ShapesWatch
  149. 887Super Egg DropWatch
  150. 891Sum of Subsequence WidthsWatch
  151. 892Surface Area of 3D ShapesWatch
  152. 899Orderly QueueWatch
  153. 902Numbers At Most N Given Digit SetWatch
  154. 906Super PalindromesWatch
  155. 908Smallest Range IWatch
  156. 910Smallest Range IIWatch
  157. 913Cat and MouseWatch
  158. 914X of a Kind in a Deck of CardsWatch
  159. 920Number of Music PlaylistsWatch
  160. 927Three Equal PartsWatch
  161. 932Beautiful ArrayWatch
  162. 939Minimum Area RectangleWatch
  163. 952Largest Component Size by Common FactorWatch
  164. 957Prison Cells After N DaysWatch
  165. 963Minimum Area Rectangle IIWatch
  166. 964Least Operators to Express NumberWatch
  167. 970Powerful IntegersWatch
  168. 972Equal Rational NumbersWatch
  169. 973K Closest Points to OriginWatch
  170. 976Largest Perimeter TriangleWatch
  171. 989Add to Array-Form of IntegerWatch
  172. 991Broken CalculatorWatch
  173. 996Number of Squareful ArraysWatch
  174. 1006Clumsy FactorialWatch
  175. 1012Numbers With Repeated DigitsWatch
  176. 1015Smallest Integer Divisible by KWatch
  177. 1017Convert to Base -2Watch
  178. 1025Divisor GameWatch
  179. 1030Matrix Cells in Distance OrderWatch
  180. 1033Moving Stones Until ConsecutiveWatch
  181. 1037Valid BoomerangWatch
  182. 1040Moving Stones Until Consecutive IIWatch
  183. 1041Robot Bounded In CircleWatch
  184. 1056Confusing NumberLocked
  185. 1058Minimize Rounding Error to Meet TargetLocked
  186. 1067Digit Count in RangeLocked
  187. 1071Greatest Common Divisor of StringsWatch
  188. 1073Adding Two Negabinary NumbersWatch
  189. 1085Sum of Digits in the Minimum NumberLocked
  190. 1088Confusing Number IILocked
  191. 1093Statistics from a Large SampleWatch
  192. 1103Distribute Candies to PeopleWatch
  193. 1104Path In Zigzag Labelled Binary TreeWatch
  194. 1118Number of Days in a MonthLocked
  195. 1131Maximum of Absolute Value ExpressionWatch
  196. 1134Armstrong NumberLocked
  197. 1137N-th Tribonacci NumberWatch
  198. 1140Stone Game IIWatch
  199. 1154Day of the YearWatch
  200. 1175Prime ArrangementsWatch
  201. 1180Count Substrings with Only One Distinct LetterLocked
  202. 1183Maximum Number of OnesLocked
  203. 1185Day of the WeekWatch
  204. 1199Minimum Time to Build BlocksLocked
  205. 1201Ugly Number IIIWatch
  206. 1215Stepping NumbersLocked
  207. 1217Minimum Cost to Move Chips to The Same PositionWatch
  208. 1227Airplane Seat Assignment ProbabilityWatch
  209. 1228Missing Number In Arithmetic ProgressionLocked
  210. 1230Toss Strange CoinsLocked
  211. 1232Check If It Is a Straight LineWatch
  212. 1237Find Positive Integer Solution for a Given EquationWatch
  213. 1238Circular Permutation in Binary RepresentationWatch
  214. 1247Minimum Swaps to Make Strings EqualWatch
  215. 1248Count Number of Nice SubarraysWatch
  216. 1250Check If It Is a Good ArrayWatch
  217. 1252Cells with Odd Values in a MatrixWatch
  218. 1256Encode NumberLocked
  219. 1259Handshakes That Don't CrossLocked
  220. 1266Minimum Time Visiting All PointsWatch
  221. 1271HexspeakLocked
  222. 1276Number of Burgers with No Waste of IngredientsWatch
  223. 1281Subtract the Product and Sum of Digits of an IntegerWatch
  224. 1290Convert Binary Number in a Linked List to IntegerWatch
  225. 1295Find Numbers with Even Number of DigitsWatch
  226. 1304Find N Unique Integers Sum up to ZeroWatch
  227. 1307Verbal Arithmetic PuzzleWatch
  228. 1317Convert Integer to the Sum of Two No-Zero IntegersWatch
  229. 1323Maximum 69 NumberWatch
  230. 1330Reverse Subarray To Maximize Array ValueWatch
  231. 1342Number of Steps to Reduce a Number to ZeroWatch
  232. 1344Angle Between Hands of a ClockWatch
  233. 1352Product of the Last K NumbersWatch
  234. 1359Count All Valid Pickup and Delivery OptionsWatch
  235. 1360Number of Days Between Two DatesWatch
  236. 1362Closest DivisorsWatch
  237. 1363Largest Multiple of ThreeWatch
  238. 1390Four DivisorsWatch
  239. 1399Count Largest GroupWatch
  240. 1401Circle and Rectangle OverlappingWatch
  241. 1406Stone Game IIIWatch
  242. 1414Find the Minimum Number of Fibonacci Numbers Whose Sum Is KWatch
  243. 1427Perform String ShiftsLocked
  244. 1432Max Difference You Can Get From Changing an IntegerWatch
  245. 1442Count Triplets That Can Form Two Arrays of Equal XORWatch
  246. 1447Simplified FractionsWatch
  247. 1453Maximum Number of Darts Inside of a Circular DartboardWatch
  248. 1467Probability of a Two Boxes Having The Same Number of Distinct BallsWatch
  249. 1478Allocate MailboxesWatch
  250. 1486XOR Operation in an ArrayWatch
  251. 1492The kth Factor of nWatch
  252. 1503Last Moment Before All Ants Fall Out of a PlankWatch
  253. 1510Stone Game IVWatch
  254. 1512Number of Good PairsWatch
  255. 1513Number of Substrings With Only 1sWatch
  256. 1515Best Position for a Service CentreWatch
  257. 1518Water BottlesWatch
  258. 1523Count Odd Numbers in an Interval RangeWatch
  259. 1524Number of Sub-arrays With Odd SumWatch
  260. 1538Guess the Majority in a Hidden ArrayLocked
  261. 1551Minimum Operations to Make Array EqualWatch
  262. 1561Maximum Number of Coins You Can GetWatch
  263. 1563Stone Game VWatch
  264. 1569Number of Ways to Reorder Array to Get Same BSTWatch
  265. 1573Number of Ways to Split a StringWatch
  266. 1577Number of Ways Where Square of Number Is Equal to Product of Two NumbersWatch
  267. 1588Sum of All Odd Length SubarraysWatch
  268. 1610Maximum Number of Visible PointsWatch
  269. 1611Minimum One Bit Operations to Make Integers ZeroWatch
  270. 1621Number of Sets of K Non-Overlapping Line SegmentsWatch
  271. 1622Fancy SequenceWatch
  272. 1627Graph Connectivity With ThresholdWatch
  273. 1628Design an Expression Tree With Evaluate FunctionLocked
  274. 1634Add Two Polynomials Represented as Linked ListsLocked
  275. 1641Count Sorted Vowel StringsWatch
  276. 1643Kth Smallest InstructionsWatch
  277. 1648Sell Diminishing-Valued Colored BallsWatch
  278. 1680Concatenation of Consecutive Binary NumbersWatch
  279. 1685Sum of Absolute Differences in a Sorted ArrayWatch
  280. 1686Stone Game VIWatch
  281. 1688Count of Matches in TournamentWatch
  282. 1690Stone Game VIIWatch
  283. 1716Calculate Money in Leetcode BankWatch
  284. 1728Cat and Mouse IIWatch
  285. 1735Count Ways to Make Array With ProductWatch
  286. 1739Building BoxesWatch
  287. 1742Maximum Number of Balls in a BoxWatch
  288. 1753Maximum Score From Removing StonesWatch
  289. 1759Count Number of Homogenous SubstringsWatch
  290. 1766Tree of CoprimesWatch
  291. 1776Car Fleet IIWatch
  292. 1780Check if Number is a Sum of Powers of ThreeWatch
  293. 1799Maximize Score After N OperationsWatch
  294. 1802Maximum Value at a Given Index in a Bounded ArrayWatch
  295. 1806Minimum Number of Operations to Reinitialize a PermutationWatch
  296. 1808Maximize Number of Nice DivisorsWatch
  297. 1812Determine Color of a Chessboard SquareWatch
  298. 1814Count Nice Pairs in an ArrayWatch
  299. 1819Number of Different Subsequences GCDsWatch
  300. 1822Sign of the Product of an ArrayWatch
  301. 1823Find the Winner of the Circular GameWatch
  302. 1828Queries on Number of Points Inside a CircleWatch
  303. 1830Minimum Number of Operations to Make String SortedWatch
  304. 1835Find XOR Sum of All Pairs Bitwise ANDWatch
  305. 1837Sum of Digits in Base KWatch
  306. 1840Maximum Building HeightWatch
  307. 1860Incremental Memory LeakWatch
  308. 1862Sum of Floored PairsWatch
  309. 1863Sum of All Subset XOR TotalsWatch
  310. 1866Number of Ways to Rearrange Sticks With K Sticks VisibleWatch
  311. 1872Stone Game VIIIWatch
  312. 1878Get Biggest Three Rhombus Sums in a GridWatch
  313. 1884Egg Drop With 2 Eggs and N FloorsWatch
  314. 1896Minimum Cost to Change the Final Value of ExpressionWatch
  315. 1903Largest Odd Number in StringWatch
  316. 1904The Number of Full Rounds You Have PlayedWatch
  317. 1908Game of NimLocked
  318. 1916Count Ways to Build Rooms in an Ant ColonyWatch
  319. 1922Count Good NumbersWatch
  320. 1924Erect the Fence IILocked
  321. 1925Count Square Sum TriplesWatch
  322. 1927Sum GameWatch
  323. 1952Three DivisorsWatch
  324. 1954Minimum Garden Perimeter to Collect Enough ApplesWatch
  325. 1956Minimum Time For K Virus Variants to SpreadLocked
  326. 1969Minimum Non-Zero Product of the Array ElementsWatch
  327. 1979Find Greatest Common Divisor of ArrayWatch
  328. 1994The Number of Good SubsetsWatch
  329. 1998GCD Sort of an ArrayWatch
  330. 1999Smallest Greater Multiple Made of Two DigitsLocked
  331. 2001Number of Pairs of Interchangeable RectanglesWatch
  332. 2005Subtree Removal Game with Fibonacci TreeLocked
  333. 2019The Score of Students Solving Math ExpressionWatch
  334. 2028Find Missing ObservationsWatch
  335. 2029Stone Game IXWatch
  336. 2033Minimum Operations to Make a Uni-Value GridWatch
  337. 2038Remove Colored Pieces if Both Neighbors are the Same ColorWatch
  338. 2048Next Greater Numerically Balanced NumberWatch
  339. 2063Vowels of All SubstringsWatch
  340. 2081Sum of k-Mirror NumbersWatch
  341. 2083Substrings That Begin and End With the Same LetterLocked
  342. 2101Detonate the Maximum BombsWatch
  343. 2110Number of Smooth Descent Periods of a StockWatch
  344. 2117Abbreviating the Product of a RangeWatch
  345. 2119A Number After a Double ReversalWatch
  346. 2125Number of Laser Beams in a BankWatch
  347. 2128Remove All Ones With Row and Column FlipsLocked
  348. 2139Minimum Moves to Reach Target ScoreWatch
  349. 2147Number of Ways to Divide a Long CorridorWatch
  350. 2152Minimum Number of Lines to Cover PointsLocked
  351. 2160Minimum Sum of Four Digit Number After Splitting DigitsWatch
  352. 2162Minimum Cost to Set Cooking TimeWatch
  353. 2165Smallest Value of the Rearranged NumberWatch
  354. 2169Count Operations to Obtain ZeroWatch
  355. 2177Find Three Consecutive Integers That Sum to a Given NumberWatch
  356. 2178Maximum Split of Positive Even IntegersWatch
  357. 2180Count Integers With Even Digit SumWatch
  358. 2183Count Array Pairs Divisible by KWatch
  359. 2189Number of Ways to Build House of CardsLocked
  360. 2195Append K Integers With Minimal SumWatch
  361. 2197Replace Non-Coprime Numbers in ArrayWatch
  362. 2217Find Palindrome With Fixed LengthWatch
  363. 2221Find Triangular Sum of an ArrayWatch
  364. 2235Add Two IntegersWatch
  365. 2240Number of Ways to Buy Pens and PencilsWatch
  366. 2249Count Lattice Points Inside a CircleWatch
  367. 2266Count Number of TextsWatch
  368. 2269Find the K-Beauty of a NumberWatch
  369. 2280Minimum Lines to Represent a Line ChartWatch
  370. 2310Sum of Numbers With Units Digit KWatch
  371. 2317Maximum XOR After Operations Watch
  372. 2338Count the Number of Ideal ArraysWatch
  373. 2344Minimum Deletions to Make Array DivisibleWatch
  374. 2348Number of Zero-Filled SubarraysWatch
  375. 2358Maximum Number of Groups Entering a CompetitionWatch
  376. 2364Count Number of Bad PairsWatch
  377. 2366Minimum Replacements to Sort the ArrayWatch
  378. 2376Count Special IntegersWatch
  379. 2393Count Strictly Increasing SubarraysLocked
  380. 2396Strictly Palindromic NumberWatch
  381. 2400Number of Ways to Reach a Position After Exactly k StepsWatch
  382. 2409Count Days Spent TogetherWatch
  383. 2413Smallest Even MultipleWatch
  384. 2417Closest Fair IntegerLocked
  385. 2419Longest Subarray With Maximum Bitwise ANDWatch
  386. 2425Bitwise XOR of All PairingsWatch
  387. 2427Number of Common FactorsWatch
  388. 2436Minimum Split Into Subarrays With GCD Greater Than OneLocked
  389. 2440Create Components With Same ValueWatch
  390. 2442Count Number of Distinct Integers After Reverse OperationsWatch
  391. 2443Sum of Number and Its ReverseWatch
  392. 2447Number of Subarrays With GCD Equal to KWatch
  393. 2450Number of Distinct Binary Strings After Applying OperationsLocked
  394. 2455Average Value of Even Numbers That Are Divisible by ThreeWatch
  395. 2457Minimum Addition to Make Integer BeautifulWatch
  396. 2464Minimum Subarrays in a Valid SplitLocked
  397. 2469Convert the TemperatureWatch
  398. 2470Number of Subarrays With LCM Equal to KWatch
  399. 2481Minimum Cuts to Divide a CircleWatch
  400. 2485Find the Pivot IntegerWatch
  401. 2489Number of Substrings With Fixed RatioLocked
  402. 2495Number of Subarrays Having Even ProductLocked
  403. 2505Bitwise OR of All Subsequence SumsLocked
  404. 2507Smallest Value After Replacing With Sum of Prime FactorsWatch
  405. 2513Minimize the Maximum of Two ArraysWatch
  406. 2514Count AnagramsWatch
  407. 2520Count the Digits That Divide a NumberWatch
  408. 2521Distinct Prime Factors of Product of ArrayWatch
  409. 2523Closest Prime Numbers in RangeWatch
  410. 2524Maximum Frequency Score of a SubarrayLocked
  411. 2525Categorize Box According to CriteriaWatch
  412. 2527Find Xor-Beauty of ArrayWatch
  413. 2535Difference Between Element Sum and Digit Sum of an ArrayWatch
  414. 2539Count the Number of Good SubsequencesLocked
  415. 2541Minimum Operations to Make Array Equal IIWatch
  416. 2543Check if Point Is ReachableWatch
  417. 2544Alternating Digit SumWatch
  418. 2549Count Distinct Numbers on BoardWatch
  419. 2550Count Collisions of Monkeys on a PolygonWatch
  420. 2566Maximum Difference by Remapping a DigitWatch
  421. 2568Minimum Impossible ORWatch
  422. 2572Count the Number of Square-Free SubsetsWatch
  423. 2575Find the Divisibility Array of a StringWatch
  424. 2578Split With Minimum SumWatch
  425. 2579Count Total Number of Colored CellsWatch
  426. 2582Pass the PillowWatch
  427. 2584Split the Array to Make Coprime ProductsWatch
  428. 2591Distribute Money to Maximum ChildrenWatch
  429. 2597The Number of Beautiful SubsetsWatch
  430. 2598Smallest Missing Non-negative Integer After OperationsWatch
  431. 2600K Items With the Maximum SumWatch
  432. 2601Prime Subtraction OperationWatch
  433. 2607Make K-Subarray Sums EqualWatch
  434. 2613Beautiful PairsLocked
  435. 2614Prime In DiagonalWatch
  436. 2638Count the Number of K-Free SubsetsLocked
  437. 2647Color the Triangle RedLocked
  438. 2651Calculate Delayed Arrival TimeWatch
  439. 2652Sum MultiplesWatch
  440. 2654Minimum Number of Operations to Make All Array Elements Equal to 1Watch
  441. 2681Power of HeroesWatch
  442. 2698Find the Punishment Number of an IntegerWatch
  443. 2709Greatest Common Divisor TraversalWatch
  444. 2719Count of IntegersWatch
  445. 2729Check if The Number is FascinatingWatch
  446. 2731Movement of RobotsWatch
  447. 2739Total Distance TraveledWatch
  448. 2745Construct the Longest New StringWatch
  449. 2748Number of Beautiful PairsWatch
  450. 2749Minimum Operations to Make the Integer ZeroWatch
  451. 2750Ways to Split Array Into Good SubarraysWatch
  452. 2761Prime Pairs With Target SumWatch
  453. 2769Find the Maximum Achievable NumberWatch
  454. 2790Maximum Number of Groups With Increasing LengthWatch
  455. 2802Find The K-th Lucky NumberLocked
  456. 2806Account Balance After Rounded PurchaseWatch
  457. 2807Insert Greatest Common Divisors in Linked ListWatch
  458. 2816Double a Number Represented as a Linked ListWatch
  459. 2818Apply Operations to Maximize ScoreWatch
  460. 2827Number of Beautiful Integers in the RangeWatch
  461. 2829Determine the Minimum Sum of a k-avoiding ArrayWatch
  462. 2834Find the Minimum Possible Sum of a Beautiful ArrayWatch
  463. 2842Count K-Subsequences of a String With Maximum BeautyWatch
  464. 2843 Count Symmetric IntegersWatch
  465. 2844Minimum Operations to Make a Special NumberWatch
  466. 2847Smallest Number With Given Digit ProductLocked
  467. 2849Determine if a Cell Is Reachable at a Given TimeWatch
  468. 2851String TransformationWatch
  469. 2862Maximum Element-Sum of a Complete Subset of IndicesWatch
  470. 2864Maximum Odd Binary NumberWatch
  471. 2867Count Valid Paths in a TreeWatch
  472. 2868The Wording GameLocked
  473. 2894Divisible and Non-divisible Sums DifferenceWatch
  474. 2912Number of Ways to Reach Destination in the GridLocked
  475. 2927Distribute Candies Among Children IIILocked
  476. 2928Distribute Candies Among Children IWatch
  477. 2929Distribute Candies Among Children IIWatch
  478. 2930Number of Strings Which Can Be Rearranged to Contain SubstringWatch
  479. 2939Maximum Xor ProductWatch
  480. 2941Maximum GCD-Sum of a SubarrayLocked
  481. 2946Matrix Similarity After Cyclic ShiftsWatch
  482. 2947Count Beautiful Substrings IWatch
  483. 2949Count Beautiful Substrings IIWatch
  484. 2954Count the Number of Infection SequencesWatch
  485. 2961Double Modular ExponentiationWatch
  486. 2963Count the Number of Good PartitionsWatch
  487. 2965Find Missing and Repeated ValuesWatch
  488. 2967Minimum Cost to Make Array EqualindromicWatch
  489. 2979Most Expensive Item That Can Not Be BoughtLocked
  490. 2992Number of Self-Divisible PermutationsLocked
  491. 2999Count the Number of Powerful IntegersWatch
  492. 3001Minimum Moves to Capture The QueenWatch
  493. 3007Maximum Number That Sum of the Prices Is Less Than or Equal to KWatch
  494. 3009Maximum Number of Intersections on the ChartLocked
  495. 3012Minimize Length of Array Using OperationsWatch
  496. 3014Minimum Number of Pushes to Type Word IWatch
  497. 3021Alice and Bob Playing Flower GameWatch
  498. 3024Type of TriangleWatch
  499. 3025Find the Number of Ways to Place People IWatch
  500. 3027Find the Number of Ways to Place People IIWatch
  501. 3032Count Numbers With Unique Digits IILocked
  502. 3044Most Frequent PrimeWatch
  503. 3047Find the Largest Area of Square Inside Two RectanglesWatch
  504. 3079Find the Sum of Encrypted IntegersWatch
  505. 3084Count Substrings Starting and Ending with Given CharacterWatch
  506. 3091Apply Operations to Make Sum of Array Greater Than or Equal to kWatch
  507. 3099Harshad NumberWatch
  508. 3100Water Bottles IIWatch
  509. 3101Count Alternating SubarraysWatch
  510. 3102Minimize Manhattan DistancesWatch
  511. 3115Maximum Prime DifferenceWatch
  512. 3116Kth Smallest Amount With Single Denomination CombinationWatch
  513. 3128Right TrianglesWatch
  514. 3153Sum of Digit Differences of All PairsWatch
  515. 3154Find Number of Ways to Reach the K-th StairWatch
  516. 3155Maximum Number of Upgradable ServersLocked
  517. 3178Find the Child Who Has the Ball After K SecondsWatch
  518. 3179Find the N-th Value After K SecondsWatch
  519. 3190Find Minimum Operations to Make All Elements Divisible by ThreeWatch
  520. 3222Find the Winning Player in Coin GameWatch
  521. 3227Vowels Game in a StringWatch
  522. 3232Find if Digit Game Can Be WonWatch
  523. 3233Find the Count of Numbers Which Are Not SpecialWatch
  524. 3235Check if the Rectangle Corner Is ReachableWatch
  525. 3247Number of Subsequences with Odd SumLocked
  526. 3250Find the Count of Monotonic Pairs IWatch
  527. 3251Find the Count of Monotonic Pairs IIWatch
  528. 3260Find the Largest Palindrome Divisible by KWatch
  529. 3264Final Array State After K Multiplication Operations IWatch
  530. 3270Find the Key of the NumbersWatch
  531. 3272Find the Count of Good IntegersWatch
  532. 3274Check if Two Chessboard Squares Have the Same ColorWatch
  533. 3280Convert Date to BinaryWatch
  534. 3283Maximum Number of Moves to Kill All PawnsWatch
  535. 3289The Two Sneaky Numbers of DigitvilleWatch
  536. 3296Minimum Number of Seconds to Make Mountain Height ZeroWatch
  537. 3300Minimum Element After Replacement With Digit SumWatch
  538. 3304Find the K-th Character in String Game IWatch
  539. 3307Find the K-th Character in String Game IIWatch
  540. 3312Sorted GCD Pair QueriesWatch
  541. 3317Find the Number of Possible Ways for an EventWatch
  542. 3326Minimum Division Operations to Make Array Non DecreasingWatch
  543. 3334Find the Maximum Factor Score of ArrayWatch
  544. 3335Total Characters in String After Transformations IWatch
  545. 3336Find the Number of Subsequences With Equal GCDWatch
  546. 3337Total Characters in String After Transformations IIWatch
  547. 3343Count Number of Balanced PermutationsWatch
  548. 3345Smallest Divisible Digit Product IWatch
  549. 3348Smallest Divisible Digit Product IIWatch
  550. 3352Count K-Reducible Numbers Less Than NWatch
  551. 3360Stone Removal GameWatch
  552. 3370Smallest Number With All Set BitsWatch
  553. 3377Digit Operations to Make Two Integers EqualWatch
  554. 3378Count Connected Components in LCM GraphWatch
  555. 3380Maximum Area Rectangle With Point Constraints IWatch
  556. 3382Maximum Area Rectangle With Point Constraints IIWatch
  557. 3395Subsequences with a Unique Middle Mode IWatch
  558. 3404Count Special SubsequencesWatch
  559. 3405Count the Number of Arrays with K Matching Adjacent ElementsWatch
  560. 3411Maximum Subarray With Equal ProductsWatch
  561. 3416Subsequences with a Unique Middle Mode IILocked
  562. 3422Minimum Operations to Make Subarray Elements EqualLocked
  563. 3426Manhattan Distances of All Arrangements of PiecesWatch
  564. 3428Maximum and Minimum Sums of at Most Size K SubsequencesWatch
  565. 3430Maximum and Minimum Sums of at Most Size K SubarraysWatch
  566. 3432Count Partitions with Even Sum DifferenceWatch
  567. 3433Count Mentions Per UserWatch
  568. 3443Maximum Manhattan Distance After K ChangesWatch
  569. 3444Minimum Increments for Target Multiples in an ArrayWatch
  570. 3461Check If Digits Are Equal in String After Operations IWatch
  571. 3463Check If Digits Are Equal in String After Operations IIWatch
  572. 3464Maximize the Distance Between Points on a SquareWatch
  573. 3468Find the Number of Copy ArraysWatch
  574. 3470Permutations IVWatch
  575. 3492Maximum Containers on a ShipWatch
  576. 3495Minimum Operations to Make Array Elements ZeroWatch
  577. 3505Minimum Operations to Make Elements Within K Subarrays EqualWatch
  578. 3506Find Time Required to Eliminate Bacterial StrainsLocked
  579. 3512Minimum Operations to Make Array Sum Divisible by KWatch
  580. 3513Number of Unique XOR Triplets IWatch
  581. 3514Number of Unique XOR Triplets IIWatch
  582. 3516Find Closest PersonWatch
  583. 3518Smallest Palindromic Rearrangement IIWatch
  584. 3519Count Numbers with Non-Decreasing Digits Watch
  585. 3524Find X Value of Array IWatch
  586. 3525Find X Value of Array IIWatch
  587. 3535Unit Conversion IILocked
  588. 3536Maximum Product of Two DigitsWatch
  589. 3539Find Sum of Array Product of Magical SequencesWatch
  590. 3547Maximum Sum of Edge Values in a GraphWatch
  591. 3549Multiply Two PolynomialsLocked
  592. 3550Smallest Index With Digit Sum Equal to IndexWatch
  593. 3556Sum of Largest Prime SubstringsWatch
  594. 3558Number of Ways to Assign Edge Weights IWatch
  595. 3559Number of Ways to Assign Edge Weights IIWatch
  596. 3560Find Minimum Log Transportation CostWatch
  597. 3569Maximize Count of Distinct Primes After SplitWatch
  598. 3574Maximize Subarray GCD ScoreWatch
  599. 3577Count the Number of Computer Unlocking PermutationsWatch
  600. 3588Find Maximum Area of a TriangleWatch
  601. 3589Count Prime-Gap Balanced SubarraysWatch
  602. 3591Check if Any Element Has Prime FrequencyWatch
  603. 3596Minimum Cost Path with Alternating Directions ILocked
  604. 3602Hexadecimal and Hexatrigesimal ConversionWatch
  605. 3605Minimum Stability Factor of ArrayWatch
  606. 3609Minimum Moves to Reach Target in GridWatch
  607. 3610Minimum Number of Primes to Sum to TargetLocked
  608. 3618Split Array by Prime IndicesWatch
  609. 3621Number of Integers With Popcount-Depth Equal to K IWatch
  610. 3622Check Divisibility by Digit Sum and ProductWatch
  611. 3623Count Number of Trapezoids IWatch
  612. 3625Count Number of Trapezoids IIWatch
  613. 3627Maximum Median Sum of Subsequences of Size 3Watch
  614. 3629Minimum Jumps to Reach End via Prime TeleportationWatch
  615. 3630Partition Array for Maximum XOR and ANDWatch
  616. 3648Minimum Sensors to Cover GridWatch
  617. 3649Number of Perfect PairsWatch
  618. 3658GCD of Odd and Even SumsWatch
  619. 3663Find The Least Frequent DigitWatch
  620. 3666Minimum Operations to Equalize Binary StringWatch
  621. 3667Sort Array By Absolute ValueLocked
  622. 3669Balanced K-Factor DecompositionWatch
  623. 3671Sum of Beautiful SubsequencesWatch
  624. 3674Minimum Operations to Equalize ArrayWatch
  625. 3677Count Binary Palindromic NumbersWatch
  626. 3680Generate ScheduleWatch
  627. 3681Maximum XOR of SubsequencesWatch
  628. 3697Compute Decimal RepresentationWatch
  629. 3700Number of ZigZag Arrays IIWatch
  630. 3704Count No-Zero Pairs That Sum to NWatch
  631. 3715Sum of Perfect Square AncestorsWatch
  632. 3723Maximize Sum of Squares of DigitsWatch
  633. 3725Count Ways to Choose Coprime Integers from RowsWatch
  634. 3726Remove Zeros in Decimal RepresentationWatch
  635. 3732Maximum Product of Three Elements After One ReplacementWatch
  636. 3733Minimum Time to Complete All DeliveriesWatch
  637. 3736Minimum Moves to Equal Array Elements IIIWatch
  638. 3747Count Distinct Integers After Removing ZerosWatch
  639. 3749Evaluate Valid ExpressionsLocked
  640. 3750Minimum Number of Flips to Reverse Binary StringWatch
  641. 3751Total Waviness of Numbers in Range IWatch
  642. 3752Lexicographically Smallest Negated Permutation that Sums to TargetWatch
  643. 3753Total Waviness of Numbers in Range IIWatch
  644. 3754Concatenate Non-Zero Digits and Multiply by Sum IWatch
  645. 3756Concatenate Non-Zero Digits and Multiply by Sum IIWatch
  646. 3757Number of Effective SubsequencesWatch
  647. 3761Minimum Absolute Distance Between Mirror PairsWatch
  648. 3762Minimum Operations to Equalize SubarraysWatch
  649. 3765Complete Prime NumberWatch
  650. 3770Largest Prime from Consecutive Prime SumWatch
  651. 3782Last Remaining Integer After Alternating Deletion OperationsWatch
  652. 3783Mirror Distance of an IntegerWatch
  653. 3789Minimum Cost to Acquire Required ItemsWatch
  654. 3790Smallest All-Ones MultipleWatch
  655. 3792Sum of Increasing Product BlocksLocked
  656. 3805Count Caesar Cipher PairsWatch
  657. 3817Good Indices in a Digit StringLocked
  658. 3821Find Nth Smallest Integer With K One BitsWatch
  659. 3828Final Element After Subarray DeletionsWatch
  660. 3848Check Digitorial PermutationWatch
  661. 3850Count Sequences to KWatch
  662. 3855Sum of K-Digit Numbers in a RangeWatch
  663. 3857Minimum Cost to Split into OnesWatch
  664. 3867Sum of GCD of Formed PairsWatch
  665. 3869Count Fancy Numbers in a RangeWatch
  666. 3870Count Commas in RangeWatch
  667. 3871Count Commas in Range IIWatch
  668. 3874Valid Subarrays With Exactly One PeakLocked
  669. 3875Construct Uniform Parity Array IWatch
  670. 3876Construct Uniform Parity Array IIWatch
  671. 3881Direction Assignments with Exactly K Visible PeopleWatch
  672. 3886Sum of Sortable IntegersWatch
  673. 3888Minimum Operations to Make All Grid Elements EqualLocked
  674. 3894Traffic Signal ColorWatch
  675. 3895Count Digit AppearancesWatch
  676. 3896Minimum Operations to Transform Array into Alternating PrimeWatch
  677. 3899Angles of a TriangleWatch
  678. 3901Good Subsequence QueriesWatch
  679. 3908Valid Digit NumberWatch
  680. 3916Number of ZigZag Arrays IIILocked
  681. 3918Sum of Primes Between Number and Its ReverseWatch
  682. 3927Minimize Array Sum Using Divisible ReplacementsWatch
  683. 3930Power Update After K-th Largest Insertion IILocked
  684. 3932Count K-th Roots in a RangeWatch
  685. 3935Power Update After K-th Largest Insertion ILocked
  686. 3945Digit Frequency ScoreWatch
  687. 3953Maximum Score with Co-Prime ElementWatch
  688. 3958Minimum Cost to Split into Ones IILocked
  689. 3959Check Good IntegerWatch
  690. 3966Count Good Integers in a RangeWatch
  691. 3968Maximum Manhattan Distance After All MovesWatch
  692. 3971Maximum Total ValueWatch
  693. 3973Distinct Gate Paths to LCALocked
  694. 3982Sum of Integers with Maximum Digit RangeWatch
  695. 3984Divisible GameWatch
  696. 3986Number of Elapsed Seconds Between Two TimesWatch
  697. 3987Minimum Total Cost to Process All ElementsWatch
  698. 3988Create Grid With Exactly K Paths IWatch
  699. 3990Create Grid With Exactly K Paths IILocked
  700. 3993Maximum Value of an Alternating SequenceWatch
  701. 3996Even Number of Knight MovesWatch
  702. 4000Largest Integer With Given Digit SumWatch
  703. 4002Count Valid SequencesWatch
  704. 4004Minimum Moves to Balance Circular Array IILocked
  705. 4005Minimum Operations to Make Array Equal IIILocked
  706. 4010Maximize Pair Strength Using GCDWatch
  707. 4021Minimum Operations to Make a Rotated Palindrome IWatch
  708. 4022K-th Digit in Infinite StringWatch
  709. 4028Minimum Operations to Make a Rotated Palindrome IILocked
  710. 4032Longest Subarray With at Most K Distinct Prime FactorsWatch
  711. 4034Minimum Bishop Moves to Reach TargetWatch
  712. 4035Maximum Valid Split Positions IWatch
  713. 4037Maximum Valid Split Positions IIWatch
  714. 4039Sum of Decoded NumbersWatch
  715. 4050Minimum Days to Score Exactly N PointsWatch