Detailed Explanation of Adaptive Huffman Coding

  Рет қаралды 10,826

Lex Zhang

Lex Zhang

Күн бұрын

Пікірлер: 6
@lamiarhm
@lamiarhm Жыл бұрын
at school we learned that we should put the output before we swap them (before we update the tree)
@hypolithbrousse7541
@hypolithbrousse7541 Ай бұрын
Maybe i missed something, but consider the stream : "aa" We first create node for 'a' increment it and his parent (root), then take the corresponding block and make sure to respect the conditions. Next, we have to treat another 'a', so we find the node 'a', and we check if it's leader of his block, but if we do so, 'a' will replace the root. There's no conditions to avoid this here. Can someone give a condition to avoid it ?
@tomhuynh8276
@tomhuynh8276 6 жыл бұрын
That's very clear and interesting live demo of adaptive huffman coding, you earned a new sub !
@ndvz8672
@ndvz8672 5 жыл бұрын
10:05 You didn't just swapped them. You did more than that without giving a reason and that's a bad teaching.
@lexzhang7289
@lexzhang7289 5 жыл бұрын
Thanks for pointing out. Will improve next time.
@merajuddinsiddique1385
@merajuddinsiddique1385 4 жыл бұрын
Yah try to illustrate the conditions while swapping uh mentioned earlier......
15. Adaptive Huffman - Encoding with example
29:44
itechnica
Рет қаралды 73 М.
Inverted Index VB Code and Gamma Code
16:27
Lex Zhang
Рет қаралды 8 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 18 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Adaptive Huffman Coding with Example |Part 1 #AdaptiveHuffmanCoding
15:17
EE-Vibes (Electrical and Electronic Engineering)
Рет қаралды 3,4 М.
How Computers Compress Text: Huffman Coding and Huffman Trees
6:30
Tom Scott
Рет қаралды 1,9 МЛН
How Lossless Compression Works: Lempel-Ziv
11:23
Art of the Problem
Рет қаралды 55 М.
Entropy in Compression - Computerphile
12:12
Computerphile
Рет қаралды 394 М.
16. Adaptive Huffman - Decoding with example
17:59
itechnica
Рет қаралды 37 М.
8 Data Structures Every Programmer Should Know
17:09
ForrestKnight
Рет қаралды 203 М.
Huffman Coding | GeeksforGeeks
8:42
GeeksforGeeks
Рет қаралды 424 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 18 МЛН