2. Scenario
Suppose a teacher wants to arrange the test papers of 14
students alphabetically. The names of students are
The teacher wants the work to be done with minimum
effort. Suggest a way that causes minimum comparisons to
arrange the test papers in alphabetic order.
Ajay Beena Anita Gauri Cherry Babita Daisy
Aastha Elina Isha Heena Diana Farhan Gagan
23. • Number of comparison made are:
13+3+1+1+1=18
Small number
Aastha
Ajay
Anita
Babita
Beena
Cherry
Daisy
Diana
Elina
Farhan
Gagan
Gauri
Heena
Isha
A---I B
D G
A