







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Discrete Mathematics
edge
node
President
VP
Organization Chart
Expression Tree
VP Personnel
VP Marketing
Director Customer Relation
Director Sales
5
u
v
root
u: parent of v v: child of u
leaves
internal nodes
leaves
u
v w
x
v and w are siblings u and v are ancestors of x v and x are descendents of u
v (^) v
A subtree of T
An undirected graph One possible result of a BFS starting from top
One possible result of a DFS starting from top
A B
E D
F C
16
19
21 11 33 14 18 10
6 5
A connected, undirected graph
A B
E D
F C
16 11
18
6 5
A minimum-cost spanning tree
a
b
h
c d
e
g f
i
25
g 1 2
a
b
h
c d
e
g f
i
26
a
b
h
c d
e
g f
i
27
g 1 2
a
b
h
c d
e
g f
i
28
a
b
h
c d
e
g f
i
29
a
b
h
c d
e
g f
i
30
g 1 2
a
b
h
c d
e
g f
i
31
a
b
h
c d
e
g f
i
32
g 1 2
37
38
39
40
41
42
43
44
49