Category: Math & Number Theory
Difficulty: intermediate
Description: Fast power with modulo
Time Complexity: O(log n)
Space Complexity: O(1)