Design a Ledger with Separate Acceptance, Limit, and Settlement States
Company: Stripe
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: hard
Interview Round: Technical Screen
Overview: Implement process_ledger(commands), an ordered account ledger that initializes accounts, accepts deposits, and returns comma-separated balance query results. The question tests separating deposit acceptance, limit usage, and settlement across deposit methods with different cutoff times, settlement delays, and amount limits.