1/42
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
How many distinct ways are there to arrange 6 different people around a round table, where arrangements obtainable by rotation are considered the same?
120
120
120
1451
43200
246
15946
44803
392848
13
60
380
Consider a directed weighted graph with V={1,2,3,4,5} and weight matrix W=[[0,10,3,0,0],[0,0,1,2,0],[0,4,0,8,2],[0,0,0,0,7],[0,0,0,9,0]]. Using Dijkstra's algorithm, find the shortest-path distance from vertex 1 to all remaining vertices. Determine the order of vertices in which the algorithm finds the shortest path from 1.

3524
5
No
No
Yes
a->1,b->2,c->3,d->4,e->5
Determine which graph is represented by the following weight matrix: rows/columns 1..6; row 1 = [0,14,6,0,0,0], row 2 = [0,0,0,0,0,0], row 3 = [0,0,0,3,3,4], row 4 = [4,0,0,0,0,2], row 5 = [0,9,0,0,0,6], row 6 = [0,0,0,0,0,0].


bottom left
20
No
No
Yes
40320
Apply Depth-First-Search algorithm (DFS) starting from vertex B on the given graph. When traversing vertices, consider lexicographical order A, B, C, D, E, F. When the algorithm terminates, what is the path from vertex B to vertex F on the DFS tree?

B --> A --> C --> F
17
26
14
16
Consider the flow network with capacities s->a=10, s->b=5, a->b=15, a->t=10, b->t=10. Which of the following pairs of sets (S,T) is the minimum cut of this network?

S={s} and T={a,b,t}
Consider the network with capacities s->a=10, s->b=5, a->b=15, a->t=10, b->t=10. The maximum flow value of the network is:

15
9
Using the same 4-point cost matrix [0 3 2 4; 1 0 5 3; 2 3 0 7; 1 1 3 0], find the route with the minimum total distance.

1-3-2-4-1
101
4
13
Always true
37
Breadth First Search (BFS)
Given directed graph G with edges 1->2, 1->3, 2->5, 2->4, 3->4, 3->6, 4->5, 4->6. Which of the following graphs is not a subgraph of G?


middle
Given the directed graph G shown in the PDF, which of the following is not the topological order of G?

3 2 4 1 6 5
e+1
If G is a tree, then there is only one path between every pair of vertices.