Breadth First Search. Two standard ways to represent a graph –Adjacency lists, –Adjacency Matrix Applicable to directed and undirected graphs. Adjacency. - ppt download
C++ BFS/DFS Code Implementation Tutorial - /src$ make
discrete mathematics - Running time of BFS using adjacency matrix - Mathematics Stack Exchange