Say you have an `NSArray` with duplicates `@[1,2,3,1,1,2,4,5,6]`;

Find all the duplicates; this can be in pseudocode. This is more of a algorithm question than a Foundation framework (without the use of `NSSet`) question.