Open chuyj opened 8 years ago
請問在寫huffman encoding時 沒出現過的字元要怎麼處理? 要當作出現次數是0,然後encode 還是不需要encode,直接輸出換行?
出現次數為零,然後 encode 即可
請問在寫huffman encoding時 沒出現過的字元要怎麼處理? 要當作出現次數是0,然後encode 還是不需要encode,直接輸出換行?