Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases With Application To GIS

Authors: Philippe Rigaux, Michel Scholl, Agnès Voisard

1st Edition

1558605886, 978-1558605886

More Books

Students also viewed these Databases questions