You are viewing a single comment's thread. Return to all comments →
You can do without the use of StringBuilder - simply System.out.print(c.data) instead of sb.append(c.data) in the middle of the if statement.
Seems like cookies are disabled on this browser, please enable them to open this website
Tree: Huffman Decoding
You are viewing a single comment's thread. Return to all comments →
You can do without the use of StringBuilder - simply System.out.print(c.data) instead of sb.append(c.data) in the middle of the if statement.