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
Do you have any idea how to compare array with pointer in c?
How can I trap or ignore keyboard interrupts like control-c?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
How to write a multi-statement macro?
What is p in text message?
Explain the difference between exit() and _exit() function?
What are types of functions?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
what value is returned to operating system after program execution?
find the sum of two matrices and WAP for it.
What is the difference between functions getch() and getche()?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What is "Hungarian Notation"?
What is the deal on sprintf_s return value?
How can I find the modification date of a file?