Given an array of integers and a value k, print all pairs that sum to k.

A.I. Evaluation of the Solution

The candidate's solution is correct and demonstrates a level of completeness. The approach is sound and the candidate has correctly identified the time and space complexity of the solution.

Evaluated at: 2022-11-08 00:15:37