Arc Forum
new
|
comments
|
leaders
|
submit
login
6 points
by
rkts
6162 days ago |
link
|
parent
Bug:
(def other (side) (case side 'l 'r 'r 'l))
should be
(def other (side) (case side l 'r r 'l))
This was causing bst-rem to behave incorrectly when removing a node with two children.
3 points
by
pg
6161 days ago |
link
Thanks! I updated the code.
-----