Decodes a Huffman-encoded string # Arguments `encoded` - The binary string to decode `codes` - HashMap of character to binary code mappings # Returns The decoded original string # Examples ``` # use std::collections::HashMap; # use the_algorithms_rust::compression::{huffman_encode, huffman_decode}; let text = "hello world"; let (encoded, codes) = huffman_encode(text); let decoded = huffman_d
(encoded: &str, codes: &HashMap<char, String>)
source not stored for this graph (policy: none)