Available question text
Given an array of integers, find and print all pairs of numbers that have the smallest difference between them, returning the results in increasing order of their values.
Related questions
Continue with questions that share topics or the same question type.
- Find K Pairs with Smallest Sums
Coding · Array · Heap (Priority Queue)
- Count Number of Pairs With Absolute Difference K
Coding
- Count Pairs of Equal Substrings With Minimum Difference
Coding
- Find Category Recommendation Pairs
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Microsoft
Find Pairs with the Smallest Difference
Reported May 29, 2026 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View source