3. Write a topological sort for the graph below. If the graph doesn't have a topological sort you should indicate that i
Posted: Tue Jul 05, 2022 10:19 am
3. Write a topological sort for the graph below. If the graph doesn't have a topological sort you should indicate that in your answer. ANSWER: 11 (a) O(log n) (b) O(n log n) (c) Q(n² log n) (d) O(n) (e) O(n²) 10 4. What is the performance of an algorithm given by the recurrence T(n) = T(n/4) +1?