Levels Tought:
University
Teaching Since: | Apr 2017 |
Last Sign in: | 344 Weeks Ago, 6 Days Ago |
Questions Answered: | 9562 |
Tutorials Posted: | 9559 |
bachelor in business administration
Polytechnic State University Sanluis
Jan-2006 - Nov-2010
CPA
Polytechnic State University
Jan-2012 - Nov-2016
Professor
Harvard Square Academy (HS2)
Mar-2012 - Present
Â
1. a. Prove that the topological sorting problem has a solution if and only if it is a dag.
b. For a digraph with n vertices, what is the largest number of distinct solutions the topological sorting problem can have?
2. a. What is the time efficiency of the DFS-based algorithm for topological sorting?
b. How can one modify the DFS-based algorithm to avoid reversing the vertex ordering generated by DFS?
Â
Â
-----------