download Mastguru Android App

Question Detail

O log(n) can be conneted with

  • Selection sort
  • Insertion sort
  • Binary sort
  • Merge sort
Similar Questions :

1. Recursive problems are implemented by

  • queues
  • stacks
  • linked lists
  • strings

2. Merge sort uses

  • Divide and conquer strategy
  • Backtracking approach
  • Heuristic search
  • Greedy approach

3. A linear list from which elements can be added or removed from either end is called

  • stack
  • queue
  • deque
  • tree

4. ++i is equivalent to

  • i = i + 2
  • i = i + 1
  • i = i + i
  • i = i - 1

5. The complexity of merge sort algorithm is

  • O(n)
  • O(log n)
  • O(n2)
  • O(n log n)
Read more from - Data Structure Questions Answers - Chapter 1
Post a comment

  • Manoj 10 years ago

    but it is O lg(n) nt O log(n)