Converting a Alphabet into a encoding based off the frequencies of each Symbol within a file. Encoding is generated by a Min-Heap

Example

For AAABCC, we can encode:

  • A = 0
  • C = 10
  • B = 110