InterviewLegend

Design an EV Charging Station Finder

Frequently asked
Alex Chen24 min readAdded 116 real interview reports

This one comes from Mastercard's technical screen, which Karat runs as a 60-minute call. A Software Engineer candidate in Pune got it in July 2026. A Java Lead Developer review on Glassdoor from 2025 or 2026 describes the same app: find the nearest station, then process the payment. The split is roughly 25 to 30 minutes of design, then 20 to 30 minutes of a data structures problem. For the Pune candidate, that second half was a hash map and breadth-first search problem with under 20 minutes left on the clock.

That timing changes how to answer. Half an hour is not enough to go deep on everything. The Pune candidate said the interviewer "covered multiple items", which made it hard to dig into any one choice. So the goal is a complete skeleton first. Name each box, say in a sentence why it's there, and keep moving. Depth comes when the interviewer points at something. Have the reported items cold. Find the nearest station. Take payment with an idempotency key so a retry never charges twice. Split location, payment and user services behind an API gateway and a load balancer. Everything else here, from single points of failure to live charger status, is something to be ready for.

The Mastercard angle
Candidates described this half of the Mastercard Karat screen as rushed, with the interviewer jumping between items. A beautiful search index with no payment story leaves boxes unticked. Say the whole skeleton in the first ten minutes, then let the interviewer pick where to dig.

MastercardPremium lesson · System design round

The Mastercard design, worked end to end.

  1. Requirements and scopeSystem design · Frequently asked
  2. The API and data model
  3. The design, drawn out1 diagram
  4. 4 deep divesWith the tradeoffs
Get the Mastercard questions

$49 a year · all 107 companies · instant access

116 Mastercard interview reports · guide updated

Mastercard interview guide

Know what Mastercard asks before you walk in.

29 coding · 4 system design · 15 behavioral questions

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

Get their questions first.

Had your Mastercard interview?How we research

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