Skip to content

Instantly share code, notes, and snippets.

@SophieDeBenedetto
Created December 7, 2020 21:43
Show Gist options
  • Save SophieDeBenedetto/3e278c4a618e669e9d16771d954a0b09 to your computer and use it in GitHub Desktop.
Save SophieDeBenedetto/3e278c4a618e669e9d16771d954a0b09 to your computer and use it in GitHub Desktop.
def product_of_equals_twenty_twenty([_head | tail] = list, _product) do
product_of_equals_twenty_twenty(tail, get_two(list))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment