check if a string has duplicate chars
reverse a string w/o string buffer
check if a string is a permutation of another