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

Explain the use of this pointer?

740


Tell me can a pure virtual function have an implementation?

662


What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

691


What does it mean to declare a member function as virtual?

667


Describe exception handling concept with an example?

643






What does int * mean in c++?

772


What can I safely assume about the initial values of variables which are not explicitly initialized?

714


How do you show the declaration of a virtual constructor?

612


What is a tree in c++?

637


How can you tell what shell you are running on unix system?

735


What is the best it certification?

702


Write a program which uses Command Line Arguments

719


Is string an object in c++?

751


Can a program run without main in c++?

687


Explain the difference between class and struct in c++?

674