Question Detail

The complexity of merge sort algorithm is

  • O(n)
  • O(log n)
  • O(n2)
  • O(n log n)
Similar Questions :

1. Which of the following name does not relate to stacks

  • FIFO lists
  • LIFO list
  • Piles
  • Push-down lists

2. Which is problem oriented language

  • BASIC
  • PL/I
  • FORTRAN
  • none of above

3. The complexity of merge sort algorithm is

  • O(n)
  • O(log n)
  • O(n2)
  • O(n log n)

4. What are the minimum number of queues needed to implement the priority queue?

  • One
  • Two
  • Three
  • Four

5. ++i is equivalent to

  • i = i + 2
  • i = i + 1
  • i = i + i
  • i = i - 1
Read more from - Data Structure Questions Answers - Chapter 1