Number theory & mathExplained
Modular Arithmetic
Arithmetic that wraps around a modulus.
Time
O(1) per op
Extra space
O(1)
Use it for
Hashing, cryptography, big results.
Arithmetic that wraps around a modulus.
Time
O(1) per op
Extra space
O(1)
Use it for
Hashing, cryptography, big results.