11.07.2015 Views

Data Structures and Algorithm Analysis - Computer Science at ...

Data Structures and Algorithm Analysis - Computer Science at ...

Data Structures and Algorithm Analysis - Computer Science at ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

180 Chap. 5 Binary TreesLetter C D E K L M U ZFrequency 32 42 120 7 42 24 37 2Figure 5.24 The rel<strong>at</strong>ive frequencies for eight selected letters.Step 1:2 7 24 32 37 42 42Z K M C U D L120EStep 2:2Z97K24 32 37 42 42M C U D L120EStep 3:Step 4:32 33 37 42 42 120C U D L E9 24M2 7Z K37 42 4265120U D LE3233C9 24M2Z7KStep 5:42L32C652Z97K3324M7937 42U D120EFigure 5.25 The first five steps of the building process for a sample Huffmantree.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!