โ† Infosys questions

Minimum Gifts for Employees Sent Onsite

Filed under Infosys

N cubicles are in a row. When an employee is sent onsite, their cubicle becomes empty. Adjacent workers stop working if their neighbor is empty. Find the minimum gifts to keep everyone working.

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

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