Big O

A common interview problem

Given an unsorted list of integers return whether a pair of integers in that list adds up to N.

  • Example: [1, 6, 4, -7, 15, 5], 11 → True
  • Example: [1, 3], 5 -> False