First Duplicate Value Leetcode Problems On Arrays