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
input function and output function in c language
what is atmost complete binary tree?
What is map keyset?
How to get a list of tables, views and columns in firebird database?
Is it necessary to sort a file before searching a particular item ?
How do you get placements?
Why is tuple immutable?
What is a comparator function?
What is data structure what is need of it?
What things you would care about to improve the performance of application if its identified that its db communication that needs to be improved?
Which is better array or linked list?
How is the front of the queue calculated in data structure?