Function to return the lexicographically smallest string that can be formed by swapping at most one character . The characters might not necessarily be adjacent .
string findSmallest ( string s ) { int len = s . size ( ) ;