Question: Let us suppose the interviewer ask you to give a best sorting algorithm. Some interviewee will directly jump to Quick-Sort O(nlogn). Oops, mistake! You need
Let us suppose the interviewer ask you to give a best sorting algorithm. Some interviewee will directly jump to Quick-Sort O(nlogn). Oops, mistake! You need to ask many questions before beginning to solve this problem.
1. What is the kind of data? Are they integers?
2. How much data are we going to sort?
3. What exactly is this data about?
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
1 Yes they are integers 2 May be thousands 3 They store a persons age 4 Data ... View full answer
Get step-by-step solutions from verified subject matter experts
