Question

What's the topological ordering of the following and how many are there in total?

1 |ar 2 |3,4 4 |e, 1

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Following are the topological orders:-

2-> 3-> 4-> 1-> 0

2-> 4-> 3-> 1->0

Since, nothing comes after 0, hence 0 is at last position. Since, 2 is not after any other, hence, 2 will be at starting. There is no order between 3 and 4 hence, 3 may come before 4 and 4 can come before 3. Similarly, see which can come before what and write a possible order and check if all given conditions are true for this order.

Add a comment
Know the answer?
Add Answer to:
What's the topological ordering of the following and how many are there in total? 1 |ar...
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
ADVERTISEMENT