Answer the question
In order to leave comments, you need to log in
Why is the entry of the graph in the form of a list under option A invalid?
I'm reading the book "Groaming Algorithms" and now I'm stuck on this:
Please explain, I still don't understand why list A is invalid.
Thank you!
Answer the question
In order to leave comments, you need to log in
List B is the only one that does not contain a violation of the sequence order.
In option A, "Have breakfast" goes before "Brush your teeth", while "Wake up" before "Take a shower" is an obvious jamb.
Similarly, in C, "Take a shower" goes before "Wake up," but "Brush your teeth" goes before "Eat breakfast."
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question