Would you rather wait for the results of a quicksort, a
linear search, or a bubble sort on a 200000 element array?
1) Quicksort
2) Linear Search
3) Bubble Sort
Answer Posted / shruti
Quicksort is a better option compared to the other twoo...
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What is conio h in c?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What are header files and explain what are its uses in c programming?
How many types of sorting are there in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
Can a function argument have default value?
How to find a missed value, if you want to store 100 values in a 99 sized array?
What does the error 'Null Pointer Assignment' mean and what causes this error?
What is a static function in c?
Which of these functions is safer to use : fgets(), gets()? Why?
Which is more efficient, a switch statement or an if else chain?
What is the mean of function?
What are external variables in c?
Explain two-dimensional array.
Why is python slower than c?