[LeetCode 217] Contains Duplicate [Java] [Beats : 99.39%]