Driver Code
public static void Main ( string [ ] args ) { ArrayList a = new ArrayList ( ) { 3 , 3 , 3 , 3 } ; int n = a . Count ; if ( graphExists ( a , n ) ) { Console . Write ( " Yes " ) ; } else { Console . Write ( " NO " ) ; } } }