Suppose you design an algorithm to multiply two n-bit integers x and y. The general multiplication technique takes T (n) = O (n2) time. For a more efficient algorithm, you first split each of x and y into their left and right halves, which are n=2 bits long. For example, if x = 100011012, then xL = 10002 and xR = 11012, and x = 24 xL + xR. Then the product of x and y can be re-written as the following: x y = 2n (xL yL) + 2n=2 (xL yR + xR yL) + (xR yR)
+4
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Suppose you design an algorithm to multiply two n-bit integers x and y. The general multiplication technique takes T (n) = O (n2) time. For ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » Suppose you design an algorithm to multiply two n-bit integers x and y. The general multiplication technique takes T (n) = O (n2) time.