Implement a Clean In-Memory Transaction Ledger
Company: Ramp
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: hard
Interview Round: Onsite
Quick Answer: Build a clean in-memory ledger for deposits, withdrawals, transfers, and balance queries using integer cents. Preserve atomic transfers, reject overdrafts, and make exact request retries idempotent while detecting conflicting transaction IDs.