Computer Science · Data Structures and Algorithms
When searching an unweighted graph using Depth-First Search (DFS) and Breadth-First Search (BFS), which statement is true?
- 1DFS always guarantees finding the shortest path between two nodes.
- 2BFS is always more memory-efficient than DFS.
- 3DFS is a non-recursive algorithm while BFS is always recursive.
- 4BFS explores all neighboring nodes at the current depth level before moving to nodes at the next depth level.✓
Correct answer
BFS explores all neighboring nodes at the current depth level before moving to nodes at the next depth level.
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures and Algorithms?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures and Algorithms