Question Detail

Sort which compares adjacent elements in a list and switches where necessary is

  • Insertion sort
  • Heap sort
  • Quick sort
  • Bubble sort
Similar Questions :

1. Sort which compares adjacent elements in a list and switches where necessary is

  • Insertion sort
  • Heap sort
  • Quick sort
  • Bubble sort

2. Merge sort uses

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

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

  • One
  • Two
  • Three
  • Four

4. A graph with one or more edges is at least

  • 1-chromatic
  • 2-chromatic
  • 3-chromatic
  • 4-chromatic

5. minimum number of stacks of size n required to implement a queue of size n

  • One
  • Two
  • Three
  • Four
Read more from - Data Structure Questions Answers - Chapter 1