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


Please Help Members By Posting Answers For Below Questions

What is stack in c?

619


What is scope of variable in c?

573


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

710


What is use of pointer?

590


What are the advantages of using linked list for tree construction?

647






Explain how do you view the path?

661


What is difference between union and structure in c?

584


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

1731


Why is c called "mother" language?

861


to find the closest pair

1826


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

585


What is volatile keyword in c?

587


Array is an lvalue or not?

642


What are multidimensional arrays?

657


Can you think of a logic behind the game minesweeper.

2012