flipped learning graphs and trees Flashcards
what are some common uses for graphs
route planning, maps and connections
what is the difference of the two types of graph, directed and undirected
directed graphs have all the edges with only one direction whereas undirected has edges with both directions
what 2 ways can be used to represent a graph and which one is most efficient
table and a list, the list being more efficient
what makes adding and removing nodes difficult when the graph is represented as a table or list
it is hard to see the impact on other nodes or the connections
what is the name of the top node in a tree
the root node
what is the name of the connection in a tree
branches
what is the name of the furthest out nodes
leaf nodes
what is teh name of the nodes directly connected under another one
its children
what are pointers used for
telling the algorithm or user which way to go at a branch
like graphs what 3 properties do trees have
- they are connected
- unidirectional
- no cycles