Typescript Array Find Duplicates Leetcode 150 Problems With Bowel