Remove Duplicate Element In Array Leetcode