Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is Huffman coding used for?
Think about how data is represented.
What is the basic tree structure used in Huffman coding?
Focus on the definition of a binary tree.
What is the key purpose of Huffman coding?
Think about what happens during data transmission.
A greedy algorithm makes decisions that are:
Focus on the definition of greedy algorithms.
Given frequencies A: 0.1, B: 0.4, C: 0.2, D: 0.3, create the Huffman tree and assign binary codes.
Use the smallest frequencies first and build up.
Discuss the ramifications of using a non-greedy approach in Huffman coding. What could go wrong?
Think about how the encoding quality could degrade.
6 more questions in this section. Enroll free to practise them all.
Enroll free