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
What does the dummy header in the linked list contain?
Is copyonwritearraylist thread safe?
What is range search?
How remove all from arraylist?
Is a hash table a map?
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?
Write a program to insert an element and in the specific position in the array?
Define secondary clustering?
What is a comparator function?
What are the types of collection?
When would you use a tuple?
What are the data structures used in RDBMS, Network data model & Hierarchical data model?