Calculate balls falling into a bucket with merging velocities
Filed under Sprinklr
The question
Given multiple balls rolling towards a bucket with initial positions and velocities where colliding balls merge and move with the velocity of the ball nearer to the bucket, compute the number of balls that fall into the bucket.
No write-up yet. Related questions below have one.
Related Sprinklr questions
Collected from public candidate posts and coding forums. Updated Nov 2026.