Driver code
int main ( ) { string s1 = " axx " ; string s2 = " cbc " ; int l1 = s1 . length ( ) ; int l2 = s2 . length ( ) ; if ( canBeMapped ( s1 , l1 , s2 , l2 ) ) cout << " Yes " ; else cout << " No " ; return 0 ; }