Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started