← Microsoft questions

Bridge and torch problem with K torches and max x people

Filed under Microsoft

Given N people with crossing times, K torches, and a maximum capacity of x people crossing at once (taking the max time among them), find the minimum total time required for all people to cross the…

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 Microsoft questions

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