Let us suppose the interviewer ask you to give a best sorting algorithm. Some interviewee will directly
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 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?
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Problems Solving In Data Structures And Algorithms Using C++
ISBN: 9789356273177
2nd Edition
Authors: Hemant Jain
Question Posted: