Which sort is best for the set: 1 2 3 5 4

a) Quick Sort

b) Bubble Sort

c) Merge Sort


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is the difference between an enumeration and a set of pre-processor # defines?

0 Answers  


What are the various storage classes in C++?

0 Answers   Fidelity,


Using a smart pointer can we iterate through a container?

0 Answers  


There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.

2 Answers   Nagarro,


What is an adaptor class in c++?

0 Answers  






Explain one method to process an entire string as one unit?

0 Answers  


Can static member variables be private?

0 Answers  


which operator is used for performing an exponential operation a) > b) ^ c) none

0 Answers  


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

0 Answers  


How would you obtain segment and offset addresses from a far address of a memory location?

0 Answers  


write the code that display the format just like 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1 6 5 4 3 2 1

5 Answers  


Is there a c++ certification?

0 Answers  


Categories