First Duplicate Value Leetcode Contest