CS UY MISC
New York University
All 1 results
Sort by
-
EL9343 Homework 5HW5 SolutionCS-UY MISC
- Exam (elaborations) • 20 pages • 2022
-
- $9.49
- + learn more
EL9343 Homework 5 
(Due May 3 
rd, 2020) 
This Assignment is longer than before, start early. 
No late assignments accepted 
All problem/exercise numbers are for the third edition of CLRS text book 
1. Show the ordering of vertices produced by TOPOLOGICAL-SORT when it is run on the DAG 
below. Assume that for loop of lines 5—7 of the DFS procedure (page 604 in CLRS) considers 
the vertices in alphabetical order, and assume the adjacency list is ordered alphabetically. 
Solution: 
This is the g...
Get paid weekly? You can!
That summary you just bought made someone very happy. Also get paid weekly? Sell your study resources on Stuvia! Discover all about earning on Stuvia