DSA Key Problems

Find K Pairs with Smallest Sums

Given two sorted integer arrays and an integer k, return up to k index-distinct pairs, one value from each array, having the smallest sums.