|
|
|
|
|
|
|
I guess the "law of conservation of misery" applies here too....
|
Note:
|
|
Example:
|
|
Character | (Variable length) code
-------------+--------------------------
S | 1
E | 01
Y | 10
O | 11
N | 100
... | ... (code for other letters omitted)
|
Question:
|
Answer:
10011 = 10 01 1 = Y E S
10011 = 100 11 = N O
|
|
|
|
|
|
|
abracadabra
|
a b r a c a 01100001 01100010 01110010 01100001 01100011 01100001 d a b r a 01100100 01100001 01100010 01110010 01100001 |
|
Notes:
|