(seed = 188315)
Consider the adjacency-lists representation of a digraph with 8 vertices and 13 edges:
A: B
B: F C
C: D
D: H
E: A F
F: G C A
G: H C
H: C
Here is a graphical representation of the same digraph:
(A)------------>(B)------------>(C)------------>(D)
^^ | ^^^ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \ | / | \ |
| \v/ | \v
(E)------------>(F)------------>(G)------------>(H)
Run breadth-first search (using the adjacency-lists representation), starting from vertex A.
Give the sequence in which the vertices are dequeued from the FIFO queue.
Your answer should be a sequence of uppercase letters, starting with A.