What is difference between tree and forest?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Data Structures Interview Questions

Can a class have a constructor?

0 Answers  


Is hashset a collection?

0 Answers  


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 ].

0 Answers  


Difference between hashset and treeset?

0 Answers  


You want to insert a new item in a binary search tree. How would you do it?

0 Answers  






Differentiate between hashmap and hashtable.

0 Answers  


How do you search for a target key in a linked list?

0 Answers  


What is subtree?

0 Answers  


What is stable sorting?

0 Answers  


Is bubble sort adaptive?

0 Answers  


Why is treeset sorted?

0 Answers  


What is the difference between set and unordered_set?

0 Answers  


Categories