Kohl's interview question

Finding duplicates in an Array