Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Breadth First Search(BFS) - Data Structure - Graphs
Home
>>
Category
>>
Programming Language (MCQ) questions
>>
Data Structure
Q. Where can we use Breadth First Search(BFS)?
- Published on 25 Aug 15
a.
Binary trees
b.
Stacks
c.
Graphs
d.
Both a and c
ANSWER: Graphs
Related Content
Networking (
207
)
Database (
97
)
C programming (
58
)
Software Engineering (
28
)
SQL (
5
)
HTML (
74
)
Web Technologies (
11
)
Data Structure (
140
)
Operating System (
96
)
Java (
25
)
Oracle (
5
)
C++ (
50
)
Algorithms (
7
)
PL/SQL (
13
)
JavaScript (
7
)
XML (
0
)
CSS (
1
)
Discussion
Nirja Shah
-Posted on 21 Nov 15
We can use Breadth First Search (BFS) in graph. In this technique, the first process starts from the vertex and then visit all the vertices adjacent to the starting vertex. After that process these adjacent vertices one by one visit their adjacent vertices. This process is continuing till all the vertices are visited.
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲