Given a sequence, S = {1, 2, 3, 8, 15, 10}; which of the following algorithms will be the fastest to sort this sequence in ascending order?

Given a sequence, S = {1, 2, 3, 8, 15, 10}; which of the following algorithms will be the fastest to sort this sequence in ascending order?

  1. a) Bubble sort
  2. b) Merge sort
  3. c) Quick sort
  4. d) Heap sort

From the Combined Bank Assistant Programmer (CSE) 2020 – Preliminary (DU) exam, question 24 of 47.

More from this paper