What is difference between tree and forest?
No Answer is Posted For this Question
Be the First to Post Answer
Can a class have a constructor?
Is hashset a collection?
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 ].
Difference between hashset and treeset?
You want to insert a new item in a binary search tree. How would you do it?
Differentiate between hashmap and hashtable.
How do you search for a target key in a linked list?
What is subtree?
What is stable sorting?
Is bubble sort adaptive?
Why is treeset sorted?
What is the difference between set and unordered_set?