Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C 1. In the merge step of Merge sort of N elements what is the running time cost of that step? a. 0(1) b. O(log

image text in transcribed

C 1. In the merge step of Merge sort of N elements what is the running time cost of that step? a. 0(1) b. O(log N) CO(N) d. O(N log N) e. O(N2) 2. One of the following is used in Topological Sorting: a. BFS b. DFS c. Heap d. All of them 3. Memory required to represent a graph using adjacency list is: a. (ED) b. (112) c. (VI+ |ED) d. None of them 4. Time to determine if (u, v) E in a graph represented by adjacency matrix is: a. (1) b. (log V1) c. O (degree(u)) d. O (degree(v) e. O(ED) 5. The INCREASE-KEY operation in a priority queue with Size N has running time: a. O(l) b. O(log N) c. O(N) d. O(N log N) e. O(N2)

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_2

Step: 3

blur-text-image_3

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

Genomes And Databases On The Internet A Practical Guide To Functions And Applications

Authors: Paul Rangel

1st Edition

189848631X, 978-1898486312

More Books

Students also viewed these Databases questions

Question

Use a three-step process to develop effective business messages.

Answered: 1 week ago