← OYO questions

Droplets in Pipe

Filed under OYO

Water droplets move along a pipe of length `target`. Given integer arrays `position` and `speed` representing initial positions and speeds of `n` droplets, droplets move towards `target`. If a faster…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related OYO questions

Collected from public candidate posts and coding forums. Updated Nov 2026.