Implements isUniqueChars_Hash and isUniqueChars_Array methods