Simplifying the learning and understanding of programming languages and web frameworks through example-based documentation.

Quizzes App

Algorithm Complexity

Test your understanding of algorithm time and space complexity

What is the time complexity of a merge sort algorithm?

  • O(n log n)
  • O(n^2)
  • O(log n)
Cancel