Gears in a machine
Practice
5 (21 votes)
Algorithms
Breadth first search
Graphs
Code Editor

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:10
166 votes
Tags:
ReadyBasic ProgrammingApprovedVery EasyVery-Easy
Points:30
24 votes
Tags:
ApprovedBreadth First SearchDepth First SearchGraphsMediumOpen
Points:30
6 votes
Tags:
GraphsAlgorithmsBreadth-first search
Editorial

Login to unlock the editorial