Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Tree Data Structures

Vocab associated with trees

TermDefinition
Graph A graph G is a collection of two sets: V, a set of vertices and E, a set of edges that connect the vertices
Digraph {v1, v2} - graph in which each edge is associated with an ordered pair of vertices
Undirected Graph graph in which each edge is associated with an unordered pair of vertices
Adjacent a vertex v1 in a graph G is adjacent to v2 if there is an edge between v1 to v2
Path sequence of vertices v1, v2, v3,...vn where there is an edge from vi to vi+1
Simple Path path in which all vertices are distinct
Cycle a path in which first and last vertices are the same
Simple Cycle a cycle that begins and ends at the same vertex and does not pass through other vertices more than once
Acyclic Graph graph with no cycles
Tree connected, acyclic graph with a specially designated vertex called the root
Connected Graph there is a path between any two vertices (undirected)
Strongly Connected Graph there is a path between any two vertices (digraph)
Weakly Connected Graph there is a path from vertex I to vertex J or from vertex J to vertex I
Complete Graph a graph with each pair of distinct vertices having an edge between them (graph with n vertices and exactly n(n-1)/2 edges)
Complete Directed Graph a directed graph with exactly n(n-1) edges
Multigraph figure which has multiple occurrences of the same edge (two or more edges between two vertices)
Network graph in which each edge has an associated positive numerical weight
Topological Order linear ordering of the vertices in a digraph in which vertex x precedes vertex y if there is a directed edge from x to y in the graph
Spanning Tree a subgraph of a connected undirected graph that contains all of its vertices and enough of its edges to form a tree
DFS Spanning Tree spanning tree created by executing a depth-first search of a graph's vertices
Minimal Spanning Tree spanning tree of a weighted, connected, undirected graph which has minimal edge-weight sum
Euler Circuit a path in an undirected graph that begins at a vertex v, passes through every edge in the graph exactly once, and terminates at v
Hamilton Circuit a path that begins at a vertex v, passes through every vertex in the graph exactly once, and terminates at v.
Traveling Salesman Problem A weighted digraph must be traversed with minimal cost. It is in the set NP; the solution can be guessed and then checked in polynomial time. It is also NPC.
Four Color Problem Since the proving of the theorem, efficient algorithms have been found for 4-coloring maps requiring only O(n^2) time, where n is the number of vertices, found in 1996
Three Utility Problem
Created by: lb3s
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards