For example for above graph, V = { 1, 2, 3, 4, 5, 6 } E = { (1, 4), (1, 6), (2, 6), (4, 5), (5, 6) } In this post, we have list out commonly asked interview questions that uses graph data structure – Thank you for being with us.