2Sum 2 – Input array is sorted

mediumSolve on LeetCode
Last edited: January 4, 2026