What is the total running time of the binary GCD algorithm?
(a) O(N)
(b) O(N^2)
(c) O(log N)
(d) O(N log N)
The question was asked during an online exam.
Question is taken from Number Theory topic in chapter Number Theory of Data Structures & Algorithms II