Sample problems on graph data structures