How to make an array with unique values while maintaining order?
Anonymous
me: (code below) Got any more brain busters?! def uniq(array): unique = [] for e in array: if e not in unique: unique.append(e) return unique interviewer: I love you.
Check out your Company Bowl for anonymous work chats.