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 / mini

bubble sort

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain output of printf("Hello World"-'A'+'B'); ?

951


Write a program to generate the Fibinocci Series

633


How can I find the modification date of a file?

673


What is an identifier?

604


how to construct a simulator keeping the logical boolean gates in c

1696






Is it valid to address one element beyond the end of an array?

656


Is c compiled or interpreted?

638


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

615


Differentiate between static and dynamic modeling.

592


What is the maximum length of an identifier?

643


What is register variable in c language?

576


What are directives in c?

525


Is python a c language?

523


What is the c language function prototype?

618


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1355