Which of the following sorts is quickest when sorting the
following set: 1 2 3 5 4
1) Quick Sort
2) Bubble Sort
3) Merge Sort
Answer Posted / rohith
quick sort is the best sorting algorithm because time
complexity is O(nlogn)
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are pointers? Why are they used?
Do pointers take up memory?
Explain what is wrong with this statement? Myname = ?robin?;
What is the hardest programming language?
What is meant by int main ()?
What is a const pointer in c?
What does %2f mean in c?
Why is c so popular?
I need testPalindrome and removeSpace
#include
What are the application of c?
What are the back slash character constants or escape sequence charactersavailable in c?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Are the variables argc and argv are always local to main?
What is the size of enum in c?
Compare array data type to pointer data type