Intersection Of Two Arrays II The solutions is like below: hashmap, when nums2 is stored on disk this way will be better two pointer if the arrays is already sorted, when the size are not different this way will be better