Han Feng
|
9cad7d0bdd
modify print tree to output to stream not cout
|
14 years ago |
Han Feng
|
4137d05fa7
remove c style type conversion
|
14 years ago |
Han Feng
|
f0fc7d131d
add exception check to insert
|
14 years ago |
Han Feng
|
437bf78ff9
fix some comment and code style problem
|
14 years ago |
Han Feng
|
8659d981fa
fix bug for finding that for intermediate node return not found becuase this kind of node is opaque for end user
|
14 years ago |
Han Feng
|
3210721b50
fix the insert bug that if the node already exist return 1 otherwise return 0
|
14 years ago |
Han Feng
|
5ebb4759f7
make the rbtree more generic
|
14 years ago |
JINMEI Tatuya
|
ef2b7b2c3f
some more editorial cleanups
|
14 years ago |
JINMEI Tatuya
|
45de3b479d
some editorial cleanups
|
14 years ago |
Jerry
|
3bcfc34b99
fix typo and blank
|
14 years ago |
Han Feng
|
1652dabf3e
add more document for red black tree also the disable copy feature
|
14 years ago |
Han Feng
|
794d61e656
modify &/* according to code guideline
|
14 years ago |
Jerry
|
14937ed405
add more unittest for rbtree
|
14 years ago |
Han Feng
|
876ce76808
add some comment and fix bug that the relation between up and down doesn't maintain correctly
|
14 years ago |
Jerry
|
3c29b20ed0
add rbtree logic and unittest
|
14 years ago |