Greedy Method: Optimal Merge Patterns and Huffman Codes — KopHub