If both the strings are equal then no operation needs to be performed
if ( s == f ) return 0 ; unordered_map < string , int > vis ; int n ; n = s . length ( ) ; int pos = 0 ; for ( int i = 0 ; i < s . length ( ) ; i ++ ) { if ( s [ i ] == ' _ ' ) {