Mastering Modular Arithmetic & Why 10⁹+7 Matters in Competitive Programming
What is modulo :
Modulo arithmetic is a mathematical operation that deals with remainders. When dividing one integer by another, we typically get a quotient and a remainder. This concept is formalized with the notation n%m, where n is the dividend an...
srinivastechblog.hashnode.dev16 min read