improved all unique char in string
reverse char in an array of char
mit on graph