Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Which of the following is not true about Dijkstra's algorithm? A - It is a single source shortest path algorithm B - Its running

1) Which of the following is not true about Dijkstra's algorithm?

A - It is a single source shortest path algorithm

B - Its running time is O(|E|log|V|)

C - It is a divide and conquer algorithm

2) Which of the following graph representation method is more space efficient?

A - Adjacency list

B - Adjacency matrix

3) Inserting an element into a max-heap takes....

A - O(1) in best case and O(logn) in worst case

B - O(1) in best case and O(n) in worst case

C - O(logn) in best case and O(n) in worst case

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

More Books

Students also viewed these Databases questions

Question

=+ Are you interested in creating or

Answered: 1 week ago

Question

=+working on a micro-multinational?

Answered: 1 week ago