CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1

Thread: BFS and DFS

  1. #1
    Join Date
    Jan 2010
    Posts
    3

    BFS and DFS

    Hello
    I need to traverse this graph using depth first search and breadth first search
    in case of a tie go with alphabetical order
    I got:

    ABCDHLPONMIJKGFE
    for DFS


    For the BFS i don't know how

    can you check for me and give me the answers?
    my exam is tomorrow and I need to get this

    thanks everyone
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured