Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...)

a) Quicksort

b) Linear Search

c) Bubble Sort



Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go..

Answer / Bhuvneshwar Tyagi

a) Quicksort

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

How do I start a c++ project?

1 Answers  


What is the two main roles of operating system?

1 Answers  


Write about the access privileges in c++ and also mention about its default access level?

1 Answers  


What are the comments in c++?

1 Answers  


Explain binary search.

1 Answers  


what is C++ exceptional handling?

1 Answers  


What is the difference between containment and delegation?

1 Answers  


class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


How do pointers work?

1 Answers  


How to change constant values?

6 Answers   Huawei, Symphony,


What is the sequence of destruction of local objects?

1 Answers  


Can we delete this pointer in c++?

1 Answers  


Categories