SyntaxFix
Write A Post
Hire A Developer
Questions
See here.
In particular this part:
Lamé showed that the number of steps needed to arrive at the greatest common divisor for two numbers less than n is
So O(log min(a, b)) is a good upper bound.
O(log min(a, b))