A person wants to visit some places. He starts from a vertex and then wants to visit every vertex till it finishes from one vertex, backtracks and then explore other vertex from same vertex. What algorithm he should use?
A) bfs
B) dfs
C) prim\s
D) kruskal\s
Correct Answer:
Verified
Q3: What is the average case time complexity
Q4: Shell sort is an improvement on
A)quick sort
B)bubble
Q5: In parallel Quick Sort Pivot is sent
Q6: In parallel Quick Sort each process divides
Q7: Time Complexity of DFS is? (V -
Q9: Given an array of n elements and
Q10: In parallel quick sort Pivot selecton strategy
Q11: In execution of the hypercube formulation of
Q12: Which Parallel formulation of Quick sort is
Q13: Which formulation of Dijkstra's algorithm exploits more
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents