Exercise 2 - Week 25/08/2024

   Question 2 - Consider the BFS algorithm, choose the wrong alternative:

a) The algorithm can be implemented using a data structure similar to a Queue.

b) The BFS is a base algorithm to others like Tarjan's Algorithm (to find bridges and articulation points).

c) The BFS follows the FIFO order (the first node visited in the BFS is the first to be fully processed).

d) The BFS algorithm finds the shortest path between its origin vertex and every other node in the graph (considering that the graph is not pondered).

e) None of the above


Original idea by: Daniel Hosomi

Comments

Popular posts from this blog

Exercise 1 - Week 11/08/2024

Exercise 3 - Week 08/09/2024