InterviewDB Question

Closing Time: Find the Earliest Time All Stores in a Region Can Close

Question Details

Problem You have n stores, each with a closing time (in minutes from midnight). A region "closes" when all stores are closed. However, stores can be forced to close early by paying a penalty of P dollars per minute of early closure. Given a budget B,…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Phone