Digital Turbine Interview Question

3sum problem, with complexity limitations