Available question text
Given robots with positions, healths and L/R directions that move simultaneously and collide when opposite-moving robots meet—where the lower-health robot is removed and the survivor loses one health (ties remove both)—return the final healths of surviving robots in the original order. The core challenge is to simulate pairwise R vs L collisions efficiently by sorting by position and using a stack to resolve successive collisions and health updates.
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 2751. Robot Collisions
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source