Product
Pricing
Blog
Forum
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
AI Insights
Quick Summary
Design a class to manage tasks with sequential unique IDs.
Implement methods to add, update, and retrieve task details.
Use a hash map for efficient storage and lookup by ID.
What This Tests
Hash map implementation for key-value storage.
Class state management and instance variables.
Sequential identifier generation.
Handling missing keys and edge cases.
Common Patterns
Hashing
Design
Collapse
Hint 1
Hint 2
Hint 3
What Interviewers May Ask Next
Report
Report seen similar question in interview
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
python
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected