Array A

Array B

Comparison Results

Intersection (Common)

Difference (A - B)

Difference (B - A)

Union (All Unique)

About Array Comparison

This tool compares two arrays and finds:

  • Intersection: Elements present in both arrays
  • Difference (A - B): Elements only in array A
  • Difference (B - A): Elements only in array B
  • Union: All unique elements from both arrays