We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5af74f5 commit b6ea57aCopy full SHA for b6ea57a
slides/graphtheory/network_flow.key
4.23 KB
slides/graphtheory/trees.key
964 KB
slides/graphtheory/trees.txt
@@ -0,0 +1,33 @@
1
+Trees are a special form of graph
2
+
3
+They come in directed and undirected flavors
4
5
+Definitions:
6
+An acyclic connected graph
7
+A connected graph with N-1 edges
8
+A graph in which any two vertices are connected by exactly one path
9
10
11
+Rooted trees
12
13
14
+child, parent
15
16
+root node
17
18
+Only the root node in a rooted tree doesn't have a parent, although sometimes it
19
+could be useful for the root node to have itself as a parent (e.g filesystem).
20
21
+leaf node - nodes with no children
22
23
+subtrees
24
25
+Binary tree is a tree for which every node has at most two child nodes
26
27
+(steal examples from binary tree slides)
28
29
30
31
+>>> Solve simple tree problem
32
33
0 commit comments