标签: python tree
我需要树字典,支持整数键
d = TreeDict() d[6] = 5 d[4] = 3
等
或者我需要解决方案,在这个漂亮的lib中存储整数键:http://www.stat.washington.edu/~hoytak/code/treedict/api.html
答案 0 :(得分:0)
pip install binarytrees