← 返回 instacart 的题目列表Password Management Questions
类型:online_judge
Design a password management system with the following functionalities: 1. Create password groups; 2. Store and update passwords within groups; 3. Query expired passwords. Provide detailed API design.
Example
Input
createGroup('work')
storePassword('work', 'email', 'password123', '2023-12-01')
queryExpiredPasswords('2023-12-02')
Output
['email']