Monday, July 13, 2009

Compute efficiently a^b mod n

an interview question. Compute efficiently a^b mod n, in space and time.

No comments:

Post a Comment