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

Answers were Sorted based on User's Feedback



Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 20000..

Answer / bukke ramesh naik

quicksort is best one compare two others because quick sort
takes node lists

Is This Answer Correct ?    2 Yes 3 No

Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 20000..

Answer / shruti

Quicksort is a better option compared to the other twoo...

Is This Answer Correct ?    4 Yes 6 No

Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 20000..

Answer / vishnu948923

Quicksort

Is This Answer Correct ?    3 Yes 8 No

Post New Answer

More C Interview Questions

How do I get an accurate error status return from system on ms-dos?

0 Answers  


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

0 Answers   Genpact,


How many keywords are there in c?

0 Answers  


what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

7 Answers  


What is the purpose of the statement: strcat (S2, S1)?

0 Answers  






What is the difference between array and linked list in c?

0 Answers  


how many error occurs in C language ?

22 Answers   Infosys, Wipro,


Explain how can you tell whether a program was compiled using c versus c++?

0 Answers  


Explain the term printf() and scanf() used in c language?

0 Answers  


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

0 Answers  


what do u mean by Direct access files? then can u explain about Direct Access Files?

0 Answers   LG Soft,


‎How to define structures? · ‎

0 Answers  


Categories