InterviewLegend

Design an ATM Cash Dispenser

Sometimes asked
Alex Chen22 min readGuide updated

Two Graduate Analyst candidates on India campus drives in July and August 2023 got a question of this shape, both in a technical round. One called it "a real-life problem based on some denomination," then got asked what an algorithm is and how you choose an efficient one. The other had to count note types for a withdrawal and gave two approaches with different time complexities. A greedy pass and a dynamic program are the natural pair, and most of this lesson is about choosing between them.

A 2021 Graduate Technical Analyst campus round went the other way. The interviewer asked how an ATM works from start to end. Then came SQL: what a constraint is, what a unique constraint is, and where an Aadhaar number could be used as a foreign key. No ATM question has come up since 2023, so treat it as a campus-round shape seen from 2021 to 2023. LeetCode 2241, Design an ATM Machine, is close to the coding half. It's a good warm-up, but its greedy rule fails on cases this lesson covers.

The Deutsche Bank angle
At Deutsche Bank campus drives, design is usually one question inside a technical round that also covers DSA, DBMS and OS. One 2023 candidate built an inheritance tree for a class question, and the interviewer's own answer was "just a very basic single class." Keep the ATM model small and spend the time on the dispensing logic.

Deutsche BankPremium lesson · System design round

The Deutsche Bank design, worked end to end.

  1. Requirements and scopeSystem design
  2. The API and data model
  3. The design, drawn out1 diagram
  4. 4 deep divesWith the tradeoffs
Get the Deutsche Bank questions

$49 a year · all 107 companies · instant access

20,000+ candidate reports

Deutsche Bank interview guide

Know what Deutsche Bank asks before you walk in.

28 coding · 5 system design · 29 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Deutsche Bank interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.