Queues Q.71

0. Which of the following sorting methods will be the best if the number of swappings done, is the only measure of efficiency?

  • Option : B
  • Explanation : Because in the selection sort algorithm we randomly access data rather than a list in which we can easily swap data which we want to swap and it takes less time. So, the answer is 'B'
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *