Huffman Coding Algorithm Explained and Implemented in Java | Data Compression | Geekific

preview_player
Показать описание

In this video, we explain in detail what the Huffman Coding Algorithm is, what it's used for, and how to implement it in Java.

Timestamps:
00:00 Introduction
00:48 What is Huffman Coding?
01:55 Creating the Huffman Tree
04:53 Implementing the Huffman Coding Algorithm
09:51 Thanks for Watching!

If you found this video helpful, check other Geekific uploads:

#Geekific #HuffmanCoding #Huffman #Algorithms
Рекомендации по теме
Комментарии
Автор

Thanks a LOT for this. It helped me with the last bit between me and a very important class of mine. Clear, simple, you made it easy to understand. Thanks!

shamsia
Автор

Wow, soooo helpful! Thank you for making this video!!

mariacunha
Автор

Bro this is amazing, I thought I was watching a video from a channel with over 100K subs man, keep up the good work my guy!

tatamousarm
Автор

A new suscriber! Omg, thank you so much, you don't know how much this helps me! Hope your channel grow soon! x :)

danielylow
Автор

Great video!
Just a heads-up: for the test case where the input is all the same letter (like it doesn't work. The solution is to check the size of the charFrequency map to handle this case.

mohamedlamintouihri
Автор

I watched a few other videos. This is the best. The picture and example are very clear, and most importantly, the decoding process makes me understand what Huffman Coding really is and why it always works. Thanks!

captain-ramen
Автор

eri un crack weon
dedicate a profesor en la UBB de chillan, chile

FelipeAndresMerinoGutierrez
Автор

Thanks for such a detailed explanation!! Quick question - How does the leaf constructor call super(int) when the Node class constructor has no such implementation? The only constructor that the Node class has is Node(Node, Node).

anubhavjain
Автор

is there a way to use the same huffman implementation but for files such as audio / video ... and so on ?

cse
Автор

When running your code from github, there was an error with all of your get such as getfrequency, getCharacter, geteftNode, getRightNode. How would you fix this, and if you do fix it, could you upload it to your github?

stormskyris
Автор

how can you find the size of the text before and after encoding?

fadichahine
Автор

i still cant get how the lombok project created the super(freq) constructor
can you show me how it really look like without the project annotation

cse
Автор

Sir can you give me code for decoding bit string I write the code but I didn't not get it

waqarahmed
Автор

Hello, excellent video. Could you share this TreeView code?

guilhermealvessilveira
Автор

well, it could sink the size of a text file with 500k random chars by 5%.
when i use it on something like a jpg, it actually increases the size by 13% xd

o-hogameplay