java| how to compress string with fixed code length

前端 未结 0 1905
悲哀的现实
悲哀的现实 2020-11-22 14:35

the string when to encode by Huffman Algorithm. The output like this .. A variable length

a= 001
b= 11
c= 1001

I need output a fixed length l

相关标签:
回答
  • 消灭零回复
提交回复
热议问题