Rewrite tree encoding
This is simpler and less error prone. Just compare right->ch and if it doesn't match, check if next left is the last left.
Showing
with
2 additions
and
14 deletions
Please
register
or
sign in
to comment
This is simpler and less error prone. Just compare right->ch and if it doesn't match, check if next left is the last left.