Wednesday, June 3, 2009

Ex-1.26

In this case (expmod base (/ exp 2) m) is evaluated twice at each level of recursion and hence logarithmic process becomes linear.

No comments:

Post a Comment