Subject

    Computer Science

    Topic

    Artificial Intelligence

    In the figure, using alphabetical tie-breaking, what is the breadth-first visit order from A?

    Illustration for In the figure, using alphabetical tie-breaking, what is the breadth-first visit order from A?
    a)
    A-C-B-F-D-E
    b)
    A-B-C-E-D-F
    c)
    A-C-F-B-E-D
    d)
    A-B-C-D-E-F

    Explanation

    BFS visits level by level: A first, then its children B and C, then the next level D, E (children of B) and F (child of C).

    Find Tutors

    View all Tutors