Skip to content

Instantly share code, notes, and snippets.

View tungsteno22's full-sized avatar
🔨

Nathan Avilez tungsteno22

🔨
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tungsteno22 on github.
  • I am tungsteno22 (https://keybase.io/tungsteno22) on keybase.
  • I have a public key ASDnMkIKM2qcSSpl4XAWrR0aY_xnzdixI85j8HJmpabkfwo

To claim this, I am signing this object:

class: center, middle

Intersection


Prompt

Given two sorted arrays of numbers, return an array containing all values that appear in both arrays. The numbers in the resulting array (the "intersection") may be returned in any order, they needn't be sorted.