public static Set<Integer> findSetIntersection(int[] array1, int[] array2) {
        Set<Integer> set1 = new HashSet<Integer>();
        Set<Integer> intersectionSet = new HashSet<Integer>();

        for (int i : array1) {
            set1.add(i);
        }

        for (int i : array2) {
            if (set1.contains(i)) {
                intersectionSet.add(i);
            }
        }

        if (intersectionSet.isEmpty()) {
            System.out.println("No intersection found.");
        }

        return intersectionSet;
    }