title: Linear time algorithm for 2-SUM
body: <p>Given an integer x and a sorted array a of N distinct integers, design a linear-time algorithm to determine if there exists two distinct indices i and j such that a[i] + a[j] == x</p>