Given two string
String a = " abcdefababaef " ; String b = " abf " ; int len = minLength ( a , b ) ; if ( len != Integer . MAX_VALUE ) { System . out . println ( len ) ; } else { System . out . println ( " Impossible " ) ; } } }