You have locks and keys. Each key unlocks only one lock. What is the maximum number of attempts needed to figure out all of the key-lock pairs using an optimal strategy? Report the answer when .
You have locks and keys. Each key unlocks only one lock. What is the maximum number of attempts needed to figure out all of the key-lock pairs using an optimal strategy? Report the answer when .
Create a free account to answer questions and track your progress — across 2,000+ interview questions.
Get started for free