Available question text
Compute a^b mod 1337 where a is an integer and b is an extremely large exponent given as an array of decimal digits; the key challenge is handling the huge exponent by processing digits and using modular exponentiation with exponent decomposition (e.g., a^(10x+d) = (a^10)^x * a^d).
Related questions
Continue with questions that share topics or the same question type.
- Pow(x, n)
Coding
- Super Egg Drop
Coding
- Super Palindromes
Coding
- Super Ugly Number
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 372. Super Pow
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source