c-algorithms icon indicating copy to clipboard operation
c-algorithms copied to clipboard

missing rb_tree_subtree_height implemention

Open synodriver opened this issue 2 years ago • 3 comments

Hi there, During wrapping this into a python libraty, I found rb_tree_subtree_height missing in rb-tree.c, which appears in the header file. Did I miss something?

synodriver avatar Jan 18 '22 13:01 synodriver

The red-black tree implementation is incomplete, so that's probably why.

fragglet avatar Jan 18 '22 16:01 fragglet

Thank you for your reply. I'll try to fix that (if I can).

synodriver avatar Jan 18 '22 16:01 synodriver

I have implemented the function for rb_tree_subtree_height for the rb_tree.c file, as described in the header file. So, can you allow me to create a pull request for the same so that you can look at it; in order to resolve this issue?

pradeep2c1 avatar Nov 16 '22 19:11 pradeep2c1