| Algorithm 1: Huffman Code |
Input: |
| 1 If |
| 2 Otherwise, while |
| – define |
| ∗ |
| ∗ |
| ∗ |
| – If set and |
| – Otherwise, if and if |
| – Set |
| – Define and return to 1. |
| Output: |
| Algorithm 1: Huffman Code |
Input: |
| 1 If |
| 2 Otherwise, while |
| – define |
| ∗ |
| ∗ |
| ∗ |
| – If set and |
| – Otherwise, if and if |
| – Set |
| – Define and return to 1. |
| Output: |