Microsoft | SSE

Anonymous User
472
Jul 18, 2023
Jul 18, 2023

Given 3 large numbers a, b, p. Write a function which will compute (a ** b) % p.
You can make use of the following identity: ( x * y ) % p = ((x % p) * (y % p)) % p**

Comments (2)