Driver Code
public static void main ( String [ ] args ) { int arr [ ] = { 0 , 15 , 5 , 10 } ; int N = arr . length ; if ( checkIntersection ( arr , N ) ) System . out . print ( " Yes " ) ; else System . out . print ( " No " ) ; } }