Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

I WANT ONLY THE ANSWERS 6. The minimum number of comparisons needed to find the Simultaneous Min. Max values of n even en elements is

I WANT ONLY THE ANSWERS

image text in transcribed

6. The minimum number of comparisons needed to find the Simultaneous Min. Max values of n even en elements is a. 2n-1 b. (3n-3)/2 c. (3n/2)-2 d. (3n-2)/2 b. n3 7. The running time of the best algorithm for finding the median of a sorted sequence of n values is in the order (Big-0) of: a. Ign c. 1 d. n 8. The running time needed to determine if the edge (u, v) E and the graph represented by an adjacency list: a. O(degree(u) b. (ED) c. (VI+ |ED) d. (VD) 9. The running time needed to traverse the adjacent nodes for the node u in the graph represented by an adjacency matrix: a. 6 (degree(u)) b. O(E) c. (IV+ |ED) d. (VD) 10. The running time of breadth-first search on a graph GV.E) represented in an adjacency list is a. O(E2) b. O(E+V) c. O(12) d. O (E log V) e. None

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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