b'\n_START_ARTICLE_\nPaghahanap na luwang-muna\n_START_SECTION_\nSudokodigo\n_START_PARAGRAPH_\nInput: Isang grapong G at isang ugat na v ng G_NEWLINE__NEWLINE_1  procedure BFS(G,v):_NEWLINE_2      create a queue Q_NEWLINE_3      enqueue v onto Q_NEWLINE_4      mark v_NEWLINE_5      while Q is not empty:_NEWLINE_6          t \xe2\x86\x90 Q.dequeue()_NEWLINE_7          if t is what we are looking for:_NEWLINE_8              return t_NEWLINE_9          for all edges e in G.incidentEdges(t) do_NEWLINE_10             o \xe2\x86\x90 G.opposite(t,e)_NEWLINE_11             if o is not marked:_NEWLINE_12                  mark o'