What is data structure and data type?
Differentiate between failfast and failsafe.
Can a null element added to a treeset or hashset?
What is a treemap used for?
What are different types of sorting algorithms?
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 is the slowest sorting algorithm?
Does treemap sort on key or value?
Describe avl tree or height balanced binary search tree.
What is a stable sorting algorithm?
A lot of data structures related programs related to only trees and graphs, like the diameter of a tree, removing the loops in a graph etc.
Explain the term base case?
What are the differences between b tree and b+ tree?
What is data type and its types?
Can we add or delete an element after assigning an array?