Storable Interview Question

Standard programming question, nothing more complex than a two sum problem.