Skip to content
Avio Lines
D22

Math

76 stations · 36h

Number theory, primes, GCD and combinatorics. 5 concept lectures and 71 interview problems explained by codestorywithMIK (36h of video), grouped into 6 patterns such as Number Theory (GCD, Primes, Sieve), Modular Arithmetic & Fast Power, Combinatorics & Counting.

Start this line →
problems by zone (pattern)
  • Number Theory (GCD, Primes, Sieve)8
  • Modular Arithmetic & Fast Power5
  • Combinatorics & Counting11
  • Geometry10
  • Digits & Number Manipulation2
  • Math Simulation & Observation37

All 76 stations in order

  1. 1.Primality Check
  2. 2.Binary Exponentiation
  3. 3.Modular nCr using Fermat’s Little Theorem
  4. 4.Matrix Exponentiation
  5. 5.Square Root Decomposition Made Easy
  6. 6.Find Median of X Sized Subarrays
  7. 7.Ugly Number -(Amazon , Meta) : Explanation ➕ Live Coding (LeetCode 263)
  8. 8.Erect the Fence -(GOOGLE) : Explanation ➕ Live Coding (LeetCode 587)
  9. 9.Max Points on a Line -(Google, Apple, LinkedIn, Amazon) : Explanation ➕ Live Coding (LeetCode 149)
  10. 10.Add Digits (LeetCode 258)
  11. 11.Bulb Switcher (LeetCode 319)
  12. 12.New 21 Game (LeetCode 837)
  13. 13.Check If It Is a Straight Line (LeetCode 1232)
  14. 14.Can Make Arithmetic Progression From Sequence (LeetCode 1502)
  15. 15.Can Make Arithmetic Progression From Sequence (LeetCode 1502)
  16. 16.Number of Ways to Reorder Array to Get Same BST (LeetCode 1569)
  17. 17.Pow(x, n) (LeetCode 50)
  18. 18.Excel Sheet Column Title (LeetCode 168)
  19. 19.Count All Valid Pickup and Delivery Options (LeetCode 1359)
  20. 20.Power of Four (LeetCode 342)
  21. 21.Poor Pigs (LeetCode 458)
  22. 22.Determine if a Cell Is Reachable at a Given Time (LeetCode 2849)
  23. 23.Minimum Time Visiting All Points (LeetCode 1266)
  24. 24.Calculate Money in Leetcode Bank (LeetCode 1716)
  25. 25.Techfest and the Queue
  26. 26.Find the Pivot Integer (LeetCode 2485)
  27. 27.Check if Number is a Sum of Powers of Three (LeetCode 1780)
  28. 28.Count Total Number of Colored Cells (LeetCode 2579)
  29. 29.Closest Prime Numbers in Range (LeetCode 2523)
  30. 30.Minimum Operations to Make a Uni-Value Grid (LeetCode 2033)
  31. 31.Apply Operations to Maximize Score (LeetCode 2818)
  32. 32.Find the Count of Good Integers (LeetCode 3272)
  33. 33.Count Good Numbers (LeetCode 1922)
  34. 34.Count the Hidden Sequences (LeetCode 2145)
  35. 35.Count the Number of Ideal Arrays (LeetCode 2338)
  36. 36.Total Characters in String After Transformations II (LeetCode 3337)
  37. 37.Distribute Candies Among Children II (LeetCode 2929)
  38. 38.Count the Number of Arrays with K Matching Adjacent Elements (LeetCode 3405)
  39. 39.Sum of k-Mirror Numbers (LeetCode 2081)
  40. 40.Alice and Bob Playing Flower Game (LeetCode 3021)
  41. 41.Minimum Operations to Make the Integer Zero (LeetCode 2749)
  42. 42.Fraction to Recurring Decimal (LeetCode 166)
  43. 43.Smallest Missing Non-negative Integer After Operations (LeetCode 2598)
  44. 44.Smallest Integer Divisible by K (LeetCode 1015)
  45. 45.Count Number of Trapezoids I (LeetCode 3623)
  46. 46.Count Number of Trapezoids II (LeetCode 3625)
  47. 47.Count the Number of Computer Unlocking Permutations (LeetCode 3577)
  48. 48.Four Divisors (LeetCode 1390)
  49. 49.Find the Largest Area of Square Inside Two Rectangles (LeetCode 3047)
  50. 50.Fancy Sequence (LeetCode 1622)
  51. 51.Total Waviness of Numbers in Range I (LeetCode 3751)
  52. 52.Number of Ways to Assign Edge Weights I (LeetCode 3558)
  53. 53.Sorted GCD Pair Queries (LeetCode 3312)
  54. 54.Smallest Palindromic Rearrangement II (LeetCode 3518)
  55. 55.Kth Smallest Amount With Single Denomination Combination (LeetCode 3116)
  56. 56.Construct Uniform Parity Array I & II (LeetCode 3875)
  57. 57.Count Commas in Range II (LeetCode 3871)
  58. 58.Circle and Rectangle Overlapping (LeetCode 1401)
  59. 59.Count of Matches in Tournament (LeetCode 1688)
  60. 60.Missing Number (LeetCode 268)
  61. 61.Pass the Pillow (LeetCode 2582)
  62. 62.Water Bottles (LeetCode 1518)
  63. 63.Find Missing and Repeated Values (LeetCode 2965)
  64. 64.Count Symmetric Integers (LeetCode 2843)
  65. 65.Finding 3-Digit Even Numbers (LeetCode 2094)
  66. 66.Divisible and Non-divisible Sums Difference (LeetCode 2894)
  67. 67.Power of Three (LeetCode 326)
  68. 68.Maximum Area of Longest Diagonal Rectangle (LeetCode 3000)
  69. 69.Largest Triangle Area (LeetCode 812)
  70. 70.Calculate Money in Leetcode Bank (LeetCode 1716)
  71. 71.Count Operations to Obtain Zero (LeetCode 2169)
  72. 72.Count Odd Numbers in an Interval Range (LeetCode 1523)
  73. 73.Mirror Distance of an Integer (LeetCode 3783)
  74. 74.GCD of Odd and Even Sums (LeetCode 3658)
  75. 75.Count Commas in Range (LeetCode 3870)
  76. 76.Vowels Game in a String (LeetCode 3227)