Available question text
Run a BFS from the start to get shortest-path distances to reachable cells (0 = wall), collect cells whose value is within [low, high], and return up to k positions sorted by increasing distance, then increasing price, then smaller row, then smaller column.
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 2146. K Highest Ranked Items Within a Price Range
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source