If there are 1 to 100 Numbers in array of 101 elements.
Which is the easy way to find repeated number?

Answer Posted / rahul

Binary Tree. But their exists better solution

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are built-in functions? What is the syntax for the definition?

847


Why is c++ so fast?

777


What are features of c++?

862


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

857


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

821


What kind of problems can be solved by a namespace?

837


What is the array and initializing arrays in c++?

758


What is lazy initialization in c++?

873


Which software is best for programming?

900


What is the purpose of the "delete" operator?

851


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

853


What do you mean by delegate? Can a user retain delegates?

752


What is setiosflags c++?

732


Why are pointers used?

774


If there are two catch statements, one for base and one for derived, which should come first?

791