Chapter 1: Q31E (page 50)
Consider the problem of computing .
(a) If is an role="math" localid="1658397956489" -bit number, how many bits long is , approximately ( form)?
(b) Give an algorithm to compute and analyze its running time.
Short Answer
The running time complexity of the given algorithm can be analyzed as it runs for n iteration and that is multiplied and the final time complexity .