Available question text
Given positions of workers and bikes on a 2D grid, assign each worker a distinct bike to minimize the total Manhattan distance (return the bike index for each worker). This is a minimum-cost bipartite matching problem that can be approached by ordering worker–bike pairs by distance (with tie-breakers on indices) and greedily assigning, or solved more generally with matching/flow algorithms.
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
Oracle
Leetcode 1057. Campus Bikes
Reported May 22, 2026 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source