1512 Number Of Good Pairs Leetcode Contest