In an unweighted graph, Breadth-First Search (BFS) is optimal for finding the shortest path in terms of the number of edges. BFS explores all vertices at the current depth level before moving on to the next level, ensuring that the shortest path is found when the destination vertex is first encountered. For unweighted graphs, the edge count represents the path cost, and BFS efficiently identifies the shortest path by expanding vertices layer by layer. Why Other Options Are Incorrect: 1. Depth-First Search (DFS): DFS explores as far as possible along a branch before backtracking, which does not guarantee the shortest path in terms of edges. 2. Dijkstra’s Algorithm: While Dijkstra’s algorithm is used for weighted graphs, it is not necessary for unweighted graphs where BFS suffices. 3. Prim’s Algorithm: Prim’s algorithm is used for finding minimum spanning trees, not shortest paths. 4. Bellman-Ford Algorithm: While Bellman-Ford can handle negative weights, it is computationally expensive compared to BFS for unweighted graphs.
KYC guidelines followed by the Banks have been framed on the recommendations of the ______
What is Universal Banking?
Which of the following is not a type of ‘Time Deposit’?
DRT and SARFAESI are the two methods adopted by Bank for
As per the RBI guidelines, Banks will be able to offer short-term crop loans up to one year at what percent of rate per annum?
What is true about the teaser loan rates charged by banks?
_________ bank has partnered with MobiKwik for co-branded virtual Visa prepaid card.
Call money is valid for
Which of the following is the regulator of the credit rating agencies in India?
Magnetic Ink Character recognition is a _______code to identify the bank branch.