Question

Identify the vertices of the cycle in the digraph. B C A E B, D, E, C B, E, C A, B, D A, D, E, C, B
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer

Option A --> BDEC

Explanation:

  •    A cycle is always start and end edges make same.
  •    Here B to B happen ,so there a cycle exist.
  • Consider the below method to find cycle

            Take an visted array here

             A B C D E --->Vertex

                       F F F F F --> Not visited yet

Start From A->T F F F F --->Visit A

Next Go to B->T T F F F --->Visit B

Next Go to D->T T F T F --->Visit D

Next Go to E->T T F T FT --->Visit E

Next Go to C->T T T T T --->Visit C

Next Go to B->T T T T T ---> Already visited

So there exist a cycle

Add a comment
Know the answer?
Add Answer to:
Identify the vertices of the cycle in the digraph. B C A E B, D, E,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT