|
INTERVIEW QUESTIONS
DATABASE
DATA STRUCTURE
DETAILS
Question: What is the easiest sorting method to use?
Answer: The answer is the standard library function qsort(). It's the easiest sort by far for several reasons: It is already written. It is already debugged. It has been optimized as much as possible (usually). Void qsort(void *buf, size_t num, size_t size, int (*comp)(const void *ele1, const void *ele2));
|
|
|
Category |
Data Structure Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8729 users |
Added on |
9/13/2014 |
Views |
67327 |
Rate it! |
|
|
Question:
What is the easiest sorting method to use?
Answer:
The answer is the standard library function qsort(). It's the easiest sort by far for several reasons: It is already written. It is already debugged. It has been optimized as much as possible (usually). Void qsort(void *buf, size_t num, size_t size, int (*comp)(const void *ele1, const void *ele2)); Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is the heap?
|
View Answer
|
|
How can I search for data in a linked list?
|
View Answer
|
|
What is the quickest sorting method to use?
|
View Answer
|
|
Whether Linked List is linear or Non-linear data structure?
|
View Answer
|
|
Does the minimum spanning tree of a graph give the shortest distance between any 2 specified nodes?
|
View Answer
|
|
What is a spanning Tree?
|
View Answer
|
|
In RDBMS, what is the efficient data structure used in the internal storage representation?
|
View Answer
|
|
List out few of the Application of tree data-structure?
|
View Answer
|
|
What are the methods available in storing sequential files ?
|
View Answer
|
|
What is the data structures used to perform recursion?
|
View Answer
|
|
If you are using C language to implement the heterogeneous linked list, what pointer type will you use?
|
View Answer
|
|
List out the areas in which data structures are applied extensively?
|
View Answer
|
|
Name the data structure used to maintain file identification?
|
View Answer
|
|
Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
|
View Answer
|
|
What is binary tree?
|
View Answer
|
|
What are the various kinds of sorting techniques? Which is has best case?
|
View Answer
|
|
How can a node be inserted in the middle of a linked list?
|
View Answer
|
|
How many parts are there in a declaration statement?
|
View Answer
|
|
What is Linked List ?
|
View Answer
|
|
What method is used to place a value onto the top of a stack?
|
View Answer
|