DP: Sufficient Teams, Scramble String & Stock Trades
Most Expedia coding rounds lean on arrays, intervals and graphs, but dynamic programming keeps turning up. The clearest case is an SDE III loop in Gurgaon in August 2026. The coding round there had two hard DP problems, a Premium question and scramble string, and the candidate finished both in 35 minutes before the talk moved to the interviewer's own project. That candidate got an offer.
It isn't only senior loops. An SDE II candidate in March 2026 met the stock problem with at most k transactions in round two. Unnamed DP problems come up in 2025 and 2026 interview reviews too. An ML intern in Bengaluru in August 2026 called the round "hard DP" plus two pointers. An intern in Gurgaon in September 2025 got a DP problem and was asked to derive its time complexity from scratch. This lesson works the three named problems, then a backtracking problem from an early 2026 technical screen that rewards the same pruning instinct.
ExpediaPremium lesson · Coding round
The 4 Expedia problems are below.
- A Premium questionCoding · Hard
- A Premium questionCoding · Hard
- A Premium questionCoding · Hard
+ 1 more in this lesson
Each with hints, the follow-up and a tested solution.
Get the Expedia questions$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.