Available question text
Find any pair of indices i, j such that abs(i - j) >= indexDifference and abs(nums[i] - nums[j]) >= valueDifference, returning [i, j] if found or [-1, -1] otherwise. With n ≤ 100, a straightforward pairwise search is sufficient.
Related questions
Continue with questions that share topics or the same question type.
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
No company association
Leetcode 2903. Find Indices With Index and Value Difference I
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source