Let C be a Huffman binary code for source with alphabet S = {s1, · · · , sq}. The code words are w1, w2, · · · , wq. Prove that the equality holds in Kraft’s inequality, i.e., X q k=1 1 2 lk = 1, where lk is the length of wk.
Huffman code creates an prefix code optimally which is used for lossless data compression. It exhibits a property that no code should contain the other code as the prefix or no two codes should have the same prefix.
Let C be a Huffman binary code for source with alphabet S = {s1, · ·...
Let C' be a binary code of length n and distance d 2t +1. Prove that 2" Let C' be a binary code of length n and distance d 2t +1. Prove that 2"
4. Approximating Clique. The Maximum Clique problem is to compute a clique (i.e., a complete subgraph) of maximum size in a given undirected graph G. Let G = (V,E) be an undirected graph. For any integer k ≥ 1, define G(k) to be the undirected graph (V (k), E(k)), where V (k) is the set of all ordered k-tuples of vertices from V , and E(k) is defined so that (v1,v2,...,vk) is adjacent to (w1,w2,...,wk) if and only if, for...