Math DSA Problems

564 math problems for coding interviews and campus placements, with hints and company tags. Below are the first 100 of 564: 100 easy, 0 medium and 0 hard. Practise them free on InternHack and track what you have solved.

Math problems, easiest first

  1. Count Symmetric Integers (Easy)
  2. A Number After a Double Reversal (Easy)
  3. Add Binary (Easy)
  4. Add Digits (Easy)
  5. Add Strings (Easy)
  6. Add to Array-Form of Integer (Easy)
  7. Add Two Integers (Easy)
  8. Alternating Digit Sum (Easy)
  9. Armstrong Number (Easy)
  10. Arranging Coins (Easy)
  11. Average Value of Even Numbers That Are Divisible by Three (Easy)
  12. Base 7 (Easy)
  13. Calculate Delayed Arrival Time (Easy)
  14. Calculate Money in Leetcode Bank (Easy)
  15. Categorize Box According to Criteria (Easy)
  16. Cells with Odd Values in a Matrix (Easy)
  17. Check If Digits Are Equal in String After Operations I (Easy)
  18. Check If It Is a Straight Line (Easy)
  19. Check if Two Chessboard Squares Have the Same Color (Easy)
  20. Climbing Stairs (Easy)
  21. Compute Decimal Representation (Easy)
  22. Confusing Number (Easy)
  23. Construct the Rectangle (Easy)
  24. Convert a Number to Hexadecimal (Easy)
  25. Convert Binary Number in a Linked List to Integer (Easy)
  26. Convert Date to Binary (Easy)
  27. Convert Integer to the Sum of Two No-Zero Integers (Easy)
  28. Convert the Temperature (Easy)
  29. Count Distinct Numbers on Board (Easy)
  30. Count Integers With Even Digit Sum (Easy)
  31. Count Largest Group (Easy)
  32. Count Numbers With Unique Digits II (Easy)
  33. Count Odd Numbers in an Interval Range (Easy)
  34. Count of Matches in Tournament (Easy)
  35. Count Operations to Obtain Zero (Easy)
  36. Count Partitions with Even Sum Difference (Easy)
  37. Count Square Sum Triples (Easy)
  38. Count Substrings with Only One Distinct Letter (Easy)
  39. Count the Digits That Divide a Number (Easy)
  40. Day of the Week (Easy)
  41. Day of the Year (Easy)
  42. Determine Color of a Chessboard Square (Easy)
  43. Difference Between Element Sum and Digit Sum of an Array (Easy)
  44. Distribute Candies Among Children I (Easy)
  45. Distribute Candies to People (Easy)
  46. Distribute Money to Maximum Children (Easy)
  47. Divisible and Non-divisible Sums Difference (Easy)
  48. Divisor Game (Easy)
  49. Excel Sheet Column Number (Easy)
  50. Excel Sheet Column Title (Easy)
  51. Fibonacci Number (Easy)
  52. Final Array State After K Multiplication Operations I (Easy)
  53. Find Closest Person (Easy)
  54. Find Greatest Common Divisor of Array (Easy)
  55. Find Minimum Operations to Make All Elements Divisible by Three (Easy)
  56. Find Missing and Repeated Values (Easy)
  57. Find N Unique Integers Sum up to Zero (Easy)
  58. Find Numbers with Even Number of Digits (Easy)
  59. Find the Child Who Has the Ball After K Seconds (Easy)
  60. Find the K-Beauty of a Number (Easy)
  61. Find the K-th Character in String Game I (Easy)
  62. Find the Key of the Numbers (Easy)
  63. Find The Least Frequent Digit (Easy)
  64. Find the Maximum Achievable Number (Easy)
  65. Find the Pivot Integer (Easy)
  66. Find the Sum of Encrypted Integers (Easy)
  67. Find the Winning Player in Coin Game (Easy)
  68. Fizz Buzz (Easy)
  69. GCD of Odd and Even Sums (Easy)
  70. Greatest Common Divisor of Strings (Easy)
  71. Happy Number (Easy)
  72. Harshad Number (Easy)
  73. Hexadecimal and Hexatrigesimal Conversion (Easy)
  74. Hexspeak (Easy)
  75. Largest Odd Number in String (Easy)
  76. Largest Perimeter Triangle (Easy)
  77. Largest Triangle Area (Easy)
  78. Matrix Cells in Distance Order (Easy)
  79. Matrix Similarity After Cyclic Shifts (Easy)
  80. Maximum 69 Number (Easy)
  81. Maximum Containers on a Ship (Easy)
  82. Maximum Difference by Remapping a Digit (Easy)
  83. Maximum Number of Balls in a Box (Easy)
  84. Maximum Odd Binary Number (Easy)
  85. Maximum Product of Three Numbers (Easy)
  86. Maximum Product of Two Digits (Easy)
  87. Maximum Subarray With Equal Products (Easy)
  88. Minimum Cost to Move Chips to The Same Position (Easy)
  89. Minimum Cuts to Divide a Circle (Easy)
  90. Minimum Moves to Equal Array Elements III (Easy)
  91. Minimum Number of Pushes to Type Word I (Easy)
  92. Minimum Operations to Make Array Sum Divisible by K (Easy)
  93. Minimum Sum of Four Digit Number After Splitting Digits (Easy)
  94. Minimum Time Visiting All Points (Easy)
  95. Missing Number (Easy)
  96. Missing Number In Arithmetic Progression (Easy)
  97. N-th Tribonacci Number (Easy)
  98. Nim Game (Easy)
  99. Number of Common Factors (Easy)
  100. Number of Days Between Two Dates (Easy)

Companies that ask math problems

Before your interview

Most resumes are filtered by software before a recruiter reads them. Check your resume ATS score free, no signup needed.

Other DSA topics