# Credit issuance and usage events — coding interview question

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/5828/build-credit-management-system
Source observed: 2026-11-05T00:55:40.284Z
Last checked: 2026-11-05T00:55:40.284+00:00
Indexed: 2026-11-07T03:04:12.264+00:00

---

# Credit issuance and usage events

We publish this coding interview question for translating a sequence of credit issuance and usage events into a user’s remaining credit pool and total available credits. Credits may expire or have usage constraints. The required solution is a function that processes the event list and computes both outputs.

- **Category:** [Coding](https://www.aced.io/questions?type=coding)
- **Associated roles:** [Software Engineer](https://www.aced.io/questions?role=swe), [AI Engineer](https://www.aced.io/questions?role=ai-engineer)
- **Associated company:** [OpenAI](https://www.aced.io/questions?company=openai)
- **Displayed activity:** 3 interviews; “Reported last asked: 5 months ago”
- **Community answers:** No answers contributed by the community yet.

## Interview experience

One shared experience links this question to an [OpenAI Software Engineer interview](https://www.aced.io/experiences/openai-software-engineer-interview-5a7d13), listed as **Software Engineer · Senior / L5** and shown as **OpenAI · 2 years ago**:

> A recruiter reached out by cold email, and the process matched what the recruiter described almost exactly. It began with a quick recruiter screen, followed by a long phone screen consisting of two interviews: a Playground design prompt and a coding problem about credits. The virtual onsite had three rounds over approximately four hours: a refactoring exercise, a presentation about a past project using slides, and a leadership conversation. The candidate was rejected. The clearest feedback was that scale mattered substantially, particularly in the project-presentation round. A different recruiter contacted the candidate again a few months later, suggesting that internal tracking and cooldown handling were not especially tight at that time.

## Related courses

### [AI Engineering Interview Prep](https://www.aced.io/courses/ai-engineering)

![AI Engineering Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/25mhKSvDOiCwC89lDj89Ah/9a5fbfacc8d93f05c238ab55baa4e5e5/fde.png?w=800&h=800&fm=webp&q=75)

We cover detailed frameworks, example questions, and mock interviews for AI engineering interviews at companies including Google, Anthropic, Meta, and OpenAI. Topics include system design, AI/ML concepts, AI-assisted coding, and behavioral rounds.

### [Generative AI Interviews](https://www.aced.io/courses/gen-ai-interviews)

![Generative AI Interviews](https://images.ctfassets.net/x78yjrjc11pq/BLBU7an1PjT0Mt2ZzAfDa/60e119c8bff0cfb8281dcb497177f6e3/AdobeStock_1510292201-min.jpeg?w=800&h=800&fm=webp&q=75)

We prepare candidates for interviews at AI-first and AI-powered companies. The course covers how generative AI works, where it fails, responsible use, AI product development and deployment, LLMs, RAG systems, and production deployment.

## Answer access

Submitting an answer marks the question complete. Users must log in or sign up to answer.

## Aced interview-preparation areas

We provide courses and practice resources across Product Management, Forward Deployed Engineering, Engineering Management, Software Engineering, System Design, Data Science, Machine Learning, Data Engineering, AI Engineering, Investment Banking, Generative AI, Security Engineering, TPM, Solutions Architecture, UX / Product Design, and BizOps & Strategy. We also provide interview experiences, question browsing, practice, coaching, resume review, salary negotiation, job referrals, resources, and related services.

- [All questions](https://www.aced.io/questions)
- [Upgrade](https://www.aced.io/upgrade?src=questions)
- [Log in](https://www.aced.io/login?src=nav)
- [Sign up](https://www.aced.io/signup?src=nav&returnPath=/questions/5828/build-credit-management-system)

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F5828%2Fbuild-credit-management-system&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F5828%2Fbuild-credit-management-system). Opening a form does not execute a tool.