Glossary term
What is modulo (Modulo (%))?
modulo stands for Modulo (%).
a % b is the remainder after dividing a by b. n % 2 === 0 means n is even. n % 10 is the last digit of n.
Learn it properly · DSALesson 2: Variables and Data TypesNamed boxes for values: numbers, strings and booleans, and the operators that combine them — including % and Math.floor, which appear in almost every DSA problem.