@@ -0,0 +1,838 @@
+#!/Applications/anaconda/envs/Python3/bin%0A%0A%0Adef main():%0A    # Test suite%0A    strings = %5BNone, '', 'Young Frankenstein', 'Yodeling cat'%5D%0A    results = %5BFalse, True, False, True%5D%0A    for i, s in enumerate(strings):%0A        if has_unique_chars(s) == results%5Bi%5D:%0A            print('PASSED test case: %7B%7D returned %7B%7D'.format(s, results%5Bi%5D))%0A        else:%0A            print('FAILED test case: %7B%7D should return %7B%7D'.format(s, results%5Bi%5D))%0A%0A    return 0%0A%0Adef has_unique_chars(string):%0A    '''%0A    Determines if given string has unique characters (is case sensitive)%0A    Input: string%0A    Output: Boolean%0A    '''%0A    if string is None:%0A        return False%0A%0A    char_set = set()%0A    for c in string:%0A        if c in char_set:%0A            return False%0A        else:%0A            char_set.add(c)%0A    return True%0A%0A%0Aif __name__ == '__main__':%0A    main()%0A

Add unique characters algorithm and tests