</>OfferRetriever
DashboardDiscuss
NEW
Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to xAI Questions

API Credit Manager

Hard

You are building an API credit management system for a cloud platform. Each client account is assigned a custom credit policy that defines the maximum credits they can hold, how many credits are restored at each refill, and how often refills occur. The system enforces independent credit budgets per account and refills credits lazily based on elapsed time.

Implement the CreditManager class: ...

Asked at:xAI

More xAI interview questions

All xAI interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.