









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
These are the Lecture Slides of Advanced Data Structures which includes Split Algorithm, Unbalanced Binary Search Trees, Forward Pass, Forward Pass Example, Backward Cleanup Pass, Retrace Path, Current Nodes, Roots of Respective Tries, Branch Nodes etc. Key important points are: Quad Trees, Network Firewalls, Destination Prefix, Binary Images, Example Binary Image, Image Operations, Pixels of Same Intensity, Scaling, Shrinking Example, Union and Intersection
Typology: Slides
1 / 17
This page cannot be seen from the preview
Don't miss anything!










(source prefix, destination prefix, action) (01, 110, drop packet)
source
dest 8 15
24
27
Image region is divided into cells called pixels. Each pixel is either black ( 0 , background) or white ( 1 ).
1 1 1 1 1 1 1 1 1 1 1
1 1
Remaining entries are 0.
Rotate 90 degrees clockwise.
Θ(n^2 ) space. Θ(n^2 ) time for rotation, scaling, union, intersection, and so on.
NW
SW SE
NE
NW
SW SE
NE
NW NE
SW NW
NW NE
SW NW
= 2 white pixels in 21 x 2^1 window => white pixel. NW
SW SE
NE
= 2 white pixels in 21 x 2^1 window => white pixel. NW
SW SE
NE
= 2 white pixels in 21 x 2^1 window => white pixel. NW
SW SE
NE
white pixel. NW= 2 white pixels in 21 x 2^1 window =>
SW SE
NE
A B
A B