Sciomi uses Google Analytics to measure how the site is used. If you accept, it stores a cookie on your device. If you decline, it stores nothing on your device, but Google may still receive a basic signal that a page was opened. Sign-in and practice progress cookies are always used. No ads are shown. Details in the privacy policy

Graph traversal (BFS)

Computer Science · Algorithms

Loading practice question…

About this practice set

Graph traversal (BFS) is part of Computer Science (Algorithms). Questions are generated with new numbers each time you practise. Levels available: Easy. After you answer, an explanation is shown.

Example questions

A taste of what you will practise. Answers are revealed after you try.

  • Easy

    BFS explores a graph:

    • Level by level
    • Branch by branch deeply
    • Randomly
    • Only one node