+1 vote
in Data Structures & Algorithms II by (110k points)
Which of the following real time examples is based on insertion sort?

(a) arranging a pack of playing cards

(b) database scenarios and distributes scenarios

(c) arranging books on a library shelf

(d) real-time systems

The question was asked by my college director while I was bunking the class.

This interesting question is from Insertion sort topic in section Sorting of Data Structures & Algorithms II

1 Answer

+1 vote
by (614k points)
selected by
 
Best answer
The correct option is (a) arranging a pack of playing cards

Easiest explanation - Arranging a pack of cards mimics an insertion sort. Database scenario is an example for merge sort, arranging books is a stack and real-time systems uses quick sort.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...