Ad
  • Custom User Avatar

    I like this solution and I was going for something similar, but it fails if the "unique" string is alphabetically in between two "non-unique" strings. For example the following test fails:

    test.assert_equals(find_uniq([ 'abz', 'azb', 'baz', 'foo', 'bza', 'zab', 'zba' ]), 'foo')

    Am I missing something here?