

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Some concept of Data Structures are Abstract, Balance Factor, Complete Binary Tree, Dynamically, Storage, Implementation, Sequential Search, Advanced Data Structures, Graph Coloring Two, Insertion Sort. Main points of this lecture are: Data Compression, Lossless, Lossy Compression, File Size, Time and Space, Data Compression Algorithms, Statistical, Frequency, Represent the Data, Examples in Computers
Typology: Slides
1 / 25
This page cannot be seen from the preview
Don't miss anything!


















Step0:
(q) (w) (e) (r) (t) (y) (u)
Step1: ( ) 10 20 15 25 16 /
(q) (w) (r) (t) (u) (y) (e)
Step2: ( )
/
( ) (q) 20 15 25 16 / \
(w) (r) (t) (u) (y) (e)
Step3: ( ) /
( )31 ( ) (q) 20 25 / \ /
(w) (t) (r) (u) (y) (e)
Step3: ( )
/
( )31 ( ) (q) 20 25 / \ / \
(w) (t) (r) (u) (y) (e)
Step4 : ( ) /
( ) (w) /
( )31 ( ) (q) 25 / \ /
(t) (r) (u) (y) (e)
Step5 : ( ) /
( )56 ( ) (w) / \ /
(t) ( ) ( ) (q) / \ /
(r) (u) (y) (e)
Step6 : ( ) /
( ) ( ) / \ /
( ) (w) (t) ( ) / \ /
( ) (q) (r) (u) /
(y) (e)
root /
/ \ 8 / \ 7 / \ 6 / \ 5 / \ 4 / \ 3
1 2
Length of set is: 7+7+6+5+4+3+2+1 = 35bits
This is what you would get if the nodes vary the most in probability.