Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1. Find the topological sorting problem for the given graph A and B. (2 Mark) Q2. Apply Merge sort and Quick to sort the list,

image text in transcribed
Q1. Find the topological sorting problem for the given graph A and B. (2 Mark) Q2. Apply Merge sort and Quick to sort the list, K, E, Y, B, O, A,R,D in alphabetical order. (2 Mark) Q3. Explain Master Theorem .Using Master Theorem solved the following recurrence. relation (2 Mark) a) T(n)=9T(3n/4)+n3 b) T(n)=4T(n/16)+1 Q4. Write the Recursive algorithm for Binary search .Consruct the recurrence relation for recursive algorithm and solve using bachward Subtution. (2 Mark) Q5. Evaluate the polynomial f(x)=100x5+30x42x3+3x2+4x10, for x=4, using Horner Rule. (2 Mark)

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

Students also viewed these Databases questions