edited by
1,354 views
0 votes
0 votes
Single source shortest path problems can be implemented by greedy algorithms using

A. Singly linked list
B.  Min heap
C.  AVL tree
D.  All of the above
edited by

2 Answers

0 votes
0 votes
We can use all of the above for single source shortest path but efficiently it will be done by min-heap
0 votes
0 votes
option D) is correct ,We can use all of them for single source shortest path.

Related questions

0 votes
0 votes
1 answer
1
LavTheRawkstar asked Apr 15, 2017
3,953 views
Consider the following instance of the knapsack problem: n=3 , W=50 , (v1,v2,v3) = (60,100,120) and weight (w1,w2,w3) = (10,20,30) .solve the given knapsack problem apply...
1 votes
1 votes
1 answer
2
supraja asked Apr 28, 2015
2,973 views
what approch does the greedy method followsa)Top down b)Bottom upI heard the answer as Top down why it is? can any one explain me please
4 votes
4 votes
3 answers
3
Lakshman Bhaiya asked Nov 10, 2018
12,529 views
If job $J=(J_{1},J_{2},J_{3},J_{4})$ are given their processing time $T_{i}=(1,1,2,3)$ and deadline are $D_{i}=(3,4,2,3)$ maximum how many job can be done$?$$A)1$ ...