Leetcode 373. Find K Pairs with Smallest Sums
Given two non-decreasing arrays, return the k pairs (one element from each) with the smallest sums — the challenge is to efficiently produce the smallest k sums from the Cartesian product without enumerating all pairs, typically via a min-heap / k-way merge.
Asked at:
LinkedIn
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Early July, 2026
Senior
Mid February, 2025
Senior
Hello Interview Premium
Your account is free and you can post anonymously if you choose.