InterviewLegend

Design a Notification Service

Sometimes asked
Alex Chen28 min readGuide updated

Four candidates have written up a notification design at Expedia, and all four reports are more than a year old, so read them as the shape of the prompt rather than a script. The newest, from April 2025, was an SDE-II loop in India: design an OTP-based notification system, talk through design patterns, classes and methods, then write the code, then adapt the design as the interviewer changed the scenario. An SDE2 hiring drive in January and February 2025 had "design notification service" as its design round. A senior ML engineer in India in February 2024 was asked about an HR workflow that sends SMS or email to employees when, say, a public holiday is declared. And a Seattle SDE 3 in November 2020 got booking notifications for vendors, where one vendor wants SMS, another email, and another exposes a REST API to call.

That gives one problem at two altitudes. The low-level version is the OTP service as classes and code, which is what India SDE2 loops tend to ask. The high-level version is the delivery system behind it: preferences per recipient, several channels, retries that don't send twice, and a vendor endpoint that's down. An SDE III round can ask for either, and sometimes both in the same hour. The scale is small next to search or pricing. The hard part is behavior under failure. A provider times out, a vendor's server returns errors for an hour, a worker crashes right after sending. Each of those has to end with the message delivered once, or flagged for a person.

The Expedia angle
Ask which altitude they want before you draw anything. In February 2024 an Expedia candidate went straight to classes when the interviewer wanted the overall approach, and the round ended 15 minutes early. In April 2025 the interviewer wanted classes and then code. Same topic, opposite expectations.

ExpediaPremium lesson · System design round

The Expedia 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 Expedia questions

$49 a year · all 122 companies · instant access

21,000+ candidate reports

Expedia interview guide

Know what Expedia asks before you walk in.

39 coding · 6 system design · 23 behavioral questions

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

Get their questions first.

Had your Expedia interview?How we research

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