Leetcode Problem 217 Contains Duplicate solution in java

Published --