Intersection Of Two Arrays Leetcode Solution Java