Two Bulls interview question

Two sum with time and space complexity constraints.