This question evaluates proficiency with the two-pointer technique, sorted-array duplicate handling, in-place space constraints, and stream-processing considerations within the Coding & Algorithms domain for data scientist roles.
Given a nondecreasing integer array nums and an integer target, return all unique value pairs [a, b] with a <= b such that a + b == target. Use the two-pointer technique to achieve O(n) time and O(