Since here key is a pair how the ordering is done internally in BST …
Doubt in map<pair<int ,int >, Any Data_Type >
the order in map/ set is not studied, and not even of importance,
btw red black self balancing tree/AVL/advanced DS is used for map
1 Like
Hi
@Ayush_shaz if your doubt is resolved, please mark it resolved else post your doubt in same thread.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.