Skip to main content
DevEval
LibraryPractice
  1. Problems
  2. Number Theory

Topic

Number Theory problems

24 problems: 8 Easy, 8 Medium, 8 Hard.

Easy (8)

  • Ugly Number
  • Perfect Number
  • Self Dividing Numbers
  • Sum of Multiples
  • GCD of Array
  • Prime Set Bits in Range
  • Greatest Common Divisor
  • Least Common Multiple

Medium (8)

  • Count Primes
  • Mirror Reflection
  • Bulb Switcher
  • Number of Pairs of Interchangeable Rectangles
  • Smallest Prime Factor Sieve
  • Modular Exponentiation
  • Modular Inverse (Prime)
  • Extended GCD

Hard (8)

  • Sum of Euler Totient
  • Count Coprime Pairs
  • Miller-Rabin Primality Check
  • Largest Prime Factor
  • Euler Totient of n
  • Fast-Doubling Fibonacci Modulo
  • Chinese Remainder Theorem
  • Triangle Interior Lattice Points

Other topics

  • Array414
  • Math223
  • String204
  • Dynamic Programming142
  • Hash Table125
  • SQL116
  • Tree93
  • Matrix83
  • Sorting83
  • Simulation66
  • Greedy65
  • Binary Search61
  • Machine Learning59
  • Two Pointers57
  • Stack50
  • Graph49
  • Data Engineering48
  • Bit Manipulation47
  • Heap47
  • Sliding Window44
  • Prefix Sum42
  • Aggregation38
  • Design37
  • Backtracking32
  • Linked List32
  • Breadth-First Search30
  • Depth-First Search27
  • Combinatorics25
  • Statistics25
  • Binary Search Tree23
  • Intervals23
  • Joins18
  • Divide and Conquer17
  • Union Find17
  • Geometry16
  • Recursion16
  • Backend Systems12
  • String Matching12
  • Data Integrity11
  • Shortest Path11
  • Queue10
  • Subqueries9
  • Topological Sort9
  • Trie7
  • Game Theory6
  • Window Functions6
  • API3
  • Brainteaser3
  • Probability3
  • Reliability3
Library
Practice
Create free account