Returns true if all characters of str are unique . Assumptions : ( 1 ) str contains only characters from ' a ' to ' z ' . ( 2 ) integers are stored using 32 bits
static bool areChractersUnique ( string str ) {