Driver Code
public static void main ( String [ ] args ) { System . out . println ( isoMorphic ( " aab " , " xxy " ) ? 1 : 0 ) ; System . out . println ( isoMorphic ( " aab " , " xyz " ) ? 1 : 0 ) ; } }