is there corresponding class in C++ as TreeMap in Java? thanks
Yes, std::map, found in the <map> Standard Library header.
std::map
<map>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!