Trivia ForgePlay free →

What is the worst-case time complexity of the Karatsuba algorithm for multiplying two n-digit numbers?

Show answer

O(n^log2(3))

Karatsuba is a divide-and-conquer algorithm that reduces four sub-multiplications to three. Its complexity is approximately O(n^1.585), significantly faster than the O(n^2) schoolbook multiplication.

Also asked as:
  • What is the worst-case time complexity of Karatsuba's multiplication algorithm for two n-digit numbers?

Would you remember this in 6 months?

Trivia Forge uses spaced repetition so facts stick. Free, no signup needed.

Turn on Algorithms practice →

More Algorithms trivia

See all 83 →