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

Is there a way to switch on strings?

622


Explain spaghetti programming?

684


What is meant by 'bit masking'?

888


What is bubble sort in c?

640


How do you override a defined macro?

702






In a switch statement, explain what will happen if a break statement is omitted?

640


What does char * * argv mean in c?

625


Why we use break in c?

552


What does void main return?

607


What are the types of pointers in c?

531


What is the purpose of macro in C language?

663


What does typedef struct mean?

662


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2161


What is the difference between char array and char pointer?

527


how to write optimum code to divide a 50 digit number with a 25 digit number??

2755