An array having 100 elements have numbers from 1 to 99 randomly out of which any number is repeated. Find the repeated number in minimum time and space complexity.


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

Post New Answer

More Data Structures Interview Questions

What is the best case time complexity of bubble sort?

0 Answers  


Find duplicates in infinite range. Which data structure to be used to give efficient solution?

0 Answers   Expedia,


Is heap sort adaptive?

0 Answers  


What is data type in data structure?

0 Answers  


What are the advantages of linked list over an array?

0 Answers  


What does list clear do?

0 Answers  


Differentiate between iterator and enumeration.

0 Answers  


Define forest?

0 Answers  


How can we reverse the order in the treemap?

0 Answers  


Name few classes that implement collection interface?

0 Answers  


Write an algorithm to check if there is a loop in a doubly linked list.

0 Answers   DELL,


What are the types of data structures?

0 Answers  


Categories