β
Correct Answer: (A)
o (log a + log b)2)
Explanation: from the binary gcd algorithm, it is found that the computational complexity is o (log a + log b)2) as the total number of steps in the execution is at most the total sum of number of bits of a and b.
Explanation by: Mr. Dubey
from the binary gcd algorithm, it is found that the computational complexity is o (log a + log b)2) as the total number of steps in the execution is at most the total sum of number of bits of a and b.
Discussion
Question Analytics
108
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
97%
Success Rate