Leetcode 2961. Double Modular Exponentiation | Hello Interview