Contains Duplicate

In this question, we will be practicing our advanced algorithm skills by solving the contains duplicate interview question.