James Sugrue - Thursday Code Puzzler: Efficient Duplicate Detection