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 ].
What does arraylist remove do?
Does concurrenthashmap allow null?
What is binary tree give example?
Can we put null key in hashmap?
What does bubble sort do?
How to get the index of an array element?
What are the tasks performed while traversing a binary tree?
How do you explain bubble sort?
Can you list out the areas in which data structures are applied extensively?
Is treemap sorted?
what is the difference between Linear Array and Linked List?
Define in brief an array. What are the types of array operations?
What is the best data structure and algorithm to implement cache?
Name few collections map implementations?