Skip to content

Instantly share code, notes, and snippets.

@sscdotopen
Created April 9, 2026 06:30
Show Gist options
  • Select an option

  • Save sscdotopen/a0d6140fe69ed1737dafea07890081c5 to your computer and use it in GitHub Desktop.

Select an option

Save sscdotopen/a0d6140fe69ed1737dafea07890081c5 to your computer and use it in GitHub Desktop.

Input sets

a = { 4, 4, 1, 3, 1, 7, 8, 7 }
b = { 1, 9, 9, 2, 2, 3, 4 }

Intersection

a ∩ b = { 1, 3, 4 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment