Tree: Huffman Decoding

  • + 0 comments

    Because you are printing '\0' chars as well of the non-leaf nodes. add if (node.data != '\0') before sout, it would pass.