Module Binary exponentiation

Binary exponentiation

**Frequency: 7/10** A common technique used in combinatorics problem and later on, matrix multiplication.

Resources

- [CP Algorithms: Binary exponentiation](https://cp-algorithms.com/algebra/binary-exp.html)

Problems

Overflow 322 / 374 800
Binary exponentiation 245 / 337 800
Number counting 164 / 181 900