Prison Keys Strategy

A prison warden was feeling capricious and played a game with the prison keys: What is the fewest number of days it would take for the prisoners to be sure everyone has their key? What was the strategy to achieve…