Depth-first search Question

 

Given the curriculum chart for the Computer Engineering course above, which of the options below indicate the topological order for a student to organize which subjects should be taken? Consider alphabetical/numerical order when performing DFS:

a) LA -> CEI -> DC1 -> DC2 -> C1 -> C2 -> C3 -> SP -> A1 -> A2

b) LA -> CEI -> DC1 -> DC2 -> A1 -> A2 -> C1 -> C2 -> C3 -> SP

c) C1 -> CEI -> C2 -> LA -> A1 -> DC1 -> C3 -> A2 -> DC2 -> SP

d) CEI -> C1 -> DC1 -> A1 -> LA -> C2 -> DC2 -> A2 -> C3 -> SP

e) None of the above


Original idea by: Matheus Lindino

Comentários

Postar um comentário

Postagens mais visitadas deste blog

Calculus

Breadth First Search