Added sample output in huffman code.

This commit is contained in:
K
2025-11-05 19:05:15 +05:30
parent 86ae1c2550
commit 493cfbe596
+15
View File
@@ -85,3 +85,18 @@ int main() {
return 0;
}
// SAMPLE OUTPUT
/*
* $ ./a.out
* Enter number of characters: 5
* Enter characters: a f v c w
* Enter corresponding frequencies: 3 2 1 5 7
*
* Huffman Codes:
* w : 0
* c : 10
* a : 110
* v : 1110
* f : 1111
*/