Guest User

need help on how to encode words using huffman code

a guest
Feb 27th, 2012
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. 0 xxxxxxxx
  2. | +- token code for N
  3. +--- ESCAPE
  4.  
  5. ESCAPE:00
  6. END-STREAM:01
  7. N:1
  8.  
  9. 0 xxxxxxxx 0 yyyyyyyy
  10. +- token code for E
  11.  
  12. ESCAPE:00
  13. END-STREAM:01
  14. N:10
  15. E:11
  16.  
  17. 0 xxxxxxxx 0 yyyyyyyy 11 0 zzzzzzzz
  18. | +- token code for D
  19. +------ second E
  20.  
  21. ESCAPE:00
  22. END-STREAM:011
  23. N:010
  24. E:11
  25. D:10
Add Comment
Please, Sign In to add comment