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
No Answer is Posted For this Question
Be the First to Post Answer
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is isdigit c++?
What is struct c++?
What is an undefined behavior and sequence points
What is a base class?
Explain about vectors in c ++?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
difference between c and c++?
38 Answers Cognizant, IBM, Infosys, Oracle, Sarva Shiksha Abhiyan, Wipro,
What is c++ library?
Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened
what is the order of initialization for data?
10 Answers Amazon, TCS, Wipro,
Are vectors faster than arrays?