Sorting

AP Computer Science A· difficulty 4/5

Mergesort time complexity

  • A

    O(n log n)

    check_circle
  • B

    O(n²)

  • C

    O(n)

  • D

    O(2ⁿ)

Explanation

Standard divide-and-conquer recursion.

Want 10 more like this — adaptive to your weak spots?

Related questions