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 ].


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

Post New Answer

More Data Structures Interview Questions

What does the dummy header in the linked list contain?

0 Answers  


Is copyonwritearraylist thread safe?

0 Answers  


What is range search?

0 Answers  


How remove all from arraylist?

0 Answers  


Is a hash table a map?

0 Answers  






There is a program which inserts and deletes node in a sorted singly linked list. There is a bug in one of the modules, how would you debug it?

0 Answers   DELL,


Write a program to insert an element and in the specific position in the array?

0 Answers  


Define secondary clustering?

0 Answers  


What is a comparator function?

0 Answers  


What are the types of collection?

0 Answers  


When would you use a tuple?

0 Answers  


What are the data structures used in RDBMS, Network data model & Hierarchical data model?

1 Answers   Accenture,


Categories