Data Structure & Algorithm
Data Structure & Algorithm. 10 – Graph & BFS & DFS JJCAO. Graph Are Not. Graphs. G = (V,E ) V[G] = {1,2,3,4,5,6} |V| = 6 E[G] = {{1,2},{1,5},{2,5},{3,6}} Note: { u,v } = ( u,v ) = ( v,u ) ( u,v ): u ↔ v. Can be very complex. Excellent Tool!. Terminology.
781 views • 57 slides