Design a Notification Service
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.
ExpediaPremium lesson · System design round
The Expedia design, worked end to end.
- Requirements and scopeSystem design
- The API and data model
- The design, drawn out1 diagram
- 4 deep divesWith the tradeoffs
$49 a year · all 122 companies · instant access
21,000+ candidate reports
Expedia interview guideKnow what Expedia asks before you walk in.
39 coding · 6 system design · 23 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.