Find atopological ordering for the graph in figure 9. For each step, show the indegreearray and the queue. Don’t forget to state your final answer -…