Question: 1. You are to sort a list L consisting of a sorted list followed by a few random elements. Which of sorting methods would be

1. You are to sort a list L consisting of a sorted list followed by a few "random" elements. Which of sorting methods would be especially suitable for such a task? Explain your reason.


2. Which searching technique/s takes O (1) time to find a data. Give reasons.

Step by Step Solution

3.55 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 For a sorted list with few random numbers Bubble sort ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!