摘要:
There is a kind of balanced binary search tree named red-black tree in the data structure. It has the following 5 properties: (1) Every node is either 阅读全文
posted @ 2018-03-13 20:26
blueattack
阅读(363)
评论(0)
推荐(0)
摘要:
map可以实现key到value的一一映射,如果是一对多的,我们可以使用multimap multimap<int,int>mp; mp.insert(make_pair(first,second)); map默认是按照key值从小到大进行排序的,如果希望按照从大到小进行排序,可以使用 map<in 阅读全文
posted @ 2018-03-13 19:08
blueattack
阅读(6077)
评论(0)
推荐(0)

浙公网安备 33010602011771号