Jothi Sadha
Building a Binary Tree using std::map, std:set
0 Answer(s)      3 years and 7 months ago
Posted in : Java Beginners

Hi, can someone please explain to me how I can make use of std::map and/or std::set to create a simple binary tree?

I do not seem to understand how these 2 containers can be used to represent a binary tree because I can't help but to see that map and set act as sorted arrays/lists/hashtable.

Advertisement
View Answers









Related Tutorials/Questions & Answers: