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
8 additions
and
20 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.