Check the string has unique characters or not.
Signed-off-by: hardikmahant <hthinksmart@gmail.com>