Ian Kelly <ian.g.ke...@gmail.com>:

> That's fine for those operations and probably insert, but how do you
> search an AVL tree for a specific key without also using __eq__?

Not needed:

========================================================================
if key < node.key:
    look_right()
elif node.key < key:
    look_left()
else:
    found_it()
========================================================================


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to