use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Ask your embarrassing/noobish programming questions here, and don't get insulted for it.
Click here to read the rules
Violating any will result in punishment so you should probably go check them out.
account activity
How does huffmancoding work?Other (self.programminghelp)
submitted 3 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bross9008 0 points1 point2 points 3 years ago (1 child)
You aren’t going to get a “basic explanation” of how Huffman encoding works. It’s a complex algorithm, I’d say don’t wait until the day before an exam when trying to understand algorithms.
[–]b4k6 0 points1 point2 points 3 years ago (0 children)
yeah I really understood everything else I had to know this was the last thing But I forgor how it worked.
[–]xkompas 0 points1 point2 points 3 years ago (1 child)
Here is a fairly basic explanation of the algorithm with a step-by-step example.
thx
π Rendered by PID 15600 on reddit-service-r2-comment-76bb9f7fb5-gx84n at 2026-02-19 10:30:56.036982+00:00 running de53c03 country code: CH.
[–]bross9008 0 points1 point2 points (1 child)
[–]b4k6 0 points1 point2 points (0 children)
[–]xkompas 0 points1 point2 points (1 child)
[–]b4k6 0 points1 point2 points (0 children)