Question: Q 1 . Find the topological sorting problem for the given graph A and B using DFS Method. ( 2 Mark ) Q 2 .

Q1. Find the topological sorting problem for the given graph A and B using DFS Method.
(2 Mark )
Q2. Apply Merge sort and Quick to sort the list, I,N,D,O,N,E,S,I,A in alphabetical order.
(2 Mark )
Q3. Explain Master Theorem .Using Master Theorem solved the following recurrence.
(2 Mark)
relation
i)T(n)=6T(2n19)+n2
j)T(n)=24T(3n72)+n2
Q4. Write the Recursive algorithm for Quick Sort.Consruct the recurrence relation for
recursive algorithm and solve using backward Subtution.
(2 Mark)
Q5. Solve the following equations using Gaussian Elimination Method:
(2 Mark)
-5x1-3x2+6x3=10
7x1+6x2-7x3=-23
2x1-4x2-3x3=-20
 Q1. Find the topological sorting problem for the given graph A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!