Knowledge of modular arithmetic and properties of the mod operator are quite important when it comes to CC.
In fact, you'll often see problems asking you to report the answer modulo some number like 1000000007 in which case this article will definitely benefit you.
Tutorial on Modular Arithmetic
Tutorial on Binary Exponentiation
Here are some links to practice modular arithmetic based problems:
- https://codeforces.com/problemset/problem/913/A
- https://open.kattis.com/problems/modulararithmetic
- https://codeforces.com/problemset/problem/1085/B
- https://codeforces.com/contest/1514/problem/C
Challenge Problem: