Driver Code
public static void main ( String [ ] args ) { List < String > arr = Arrays . asList ( new String [ ] { " geeksforgeeks " , " geeks " , " geeksforcse " } ) ; int N = arr . size ( ) ; findMaxLenPair ( arr , N ) ; } }