Available question text
Design a system that tracks user token credits and can efficiently query the number of tokens a user has at any given timestamp. The service should handle credit additions, deductions, and historical balance lookups.
Related questions
Continue with questions that share topics or the same question type.
- Given a sequence of credit issuance and usage events, where credits may expire or have usage constraints, write a function to translate the list into the user’s remaining credit pool and total available credits.
Coding
- Analyze User Website Visit Pattern
Coding · Array · Hash Table · Sorting
- Autocomplete User Search
Coding
- Best Position for a Service Centre
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
OpenAI
Design a credit tracking service for user token balances
Reported Oct 6, 2026 · 23 source reports
SENIOR, STAFF
Source snapshot: Nov 12, 2026
View source