Expedia Interview Prep (SDE 2 / SDE 3)
Expedia runs a practical backend loop. The coding bar sits at comfortable LeetCode medium, usually two problems per round, and interviewers tend to push on complexity and space rather than on reaching for a harder algorithm. Several reported rounds follow the same arc: give a working solution, get asked to improve the time complexity, then get asked to do it in constant space.
The design round is where the travel domain shows up, and it is genuinely more interesting than the coding. Booking is a reservation problem with real money and finite inventory behind it: the same hotel room cannot be sold twice, prices move while the user is deciding, search has to be fast across a huge catalogue, and a partial failure during payment is a customer-support incident rather than a dropped request. The hiring manager round is the one candidates underprepare, and for experienced hires it carries more weight than any single coding round.
Interview Process
| Stage | Duration | Focus |
|---|---|---|
| Recruiter Screen | 15-30 min | Background, level, logistics |
| Strengths Assessment | 45-60 min | Automated behaviour and judgment test |
| Online Assessment | 60-90 min | HackerRank, 2 problems, easy to medium |
| Technical Phone Screen | 60 min | DSA plus fundamentals |
| Onsite: DSA 1 | 60 min | 2 problems, medium, with optimisation follow-ups |
| Onsite: DSA 2 | 60 min | 2 problems, medium |
| Onsite: System Design | 60 min | Booking, search, or pricing |
| Hiring Manager | 45-60 min | Projects, ownership, current work |
Not every loop includes every stage. The strengths assessment is common for applications made through the careers site and is sometimes skipped for referrals. Some reported loops run two DSA rounds and a hiring manager round with no separate design interview, while others substitute an object-oriented design round for one of the DSA rounds. A scenario-based incident or debugging round has also been reported for senior candidates. Ask the recruiter for the round list.
What Expedia Actually Tests
Derived from 69 reported Expedia-tagged problems. Difficulty mix:
| Difficulty | Count | Share |
|---|---|---|
| Easy | 13 | 19% |
| Medium | 47 | 68% |
| Hard | 9 | 13% |
The list skews Easy and Medium. Speed and clean code matter more here than exotic algorithms.
Where those problems fall by pattern:
| Rank | Pattern | Problems | Share of list |
|---|---|---|---|
| 1 | Strings | 9 | 13% |
| 2 | Binary Search | 8 | 12% |
| 3 | Sliding Window & Two Pointers | 8 | 12% |
| 4 | Dynamic Programming | 7 | 10% |
| 5 | Arrays & Hashing | 6 | 9% |
| 6 | Stack & Monotonic Stack | 6 | 9% |
| 7 | Intervals, Greedy & Sorting | 5 | 7% |
| 8 | Graphs | 5 | 7% |
| 9 | Trees | 4 | 6% |
| 10 | Tries & String Search | 3 | 4% |
Expedia Signature Problems
These rank high on Expedia’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.
| # | Problem | Pattern | Difficulty | Also asked at | Link |
|---|---|---|---|---|---|
| 1 | Find the Smallest Divisor Given a Threshold | Binary Search | Medium | 12 of 142 | Solve → |
| 2 | The kth Factor of n | Prime Factorization + Number Theory | Medium | 6 of 142 | LeetCode → |
| 3 | Valid Triangle Number | Binary Search + Greedy | Medium | 8 of 142 | LeetCode → |
| 4 | Break a Palindrome | Greedy | Medium | 4 of 142 | LeetCode → |
| 5 | Minimum Swaps to Group All 1’s Together | Sliding Window | Medium | 3 of 142 | LeetCode → |
| 6 | Rearrange Words in a Sentence | Sorting + String | Medium | 3 of 142 | LeetCode → |
| 7 | The Earliest Moment When Everyone Become Friends | Union-Find | Medium | 3 of 142 | LeetCode → |
| 8 | Minimum Replacements to Sort the Array | Greedy | Hard | 5 of 142 | LeetCode → |
| 9 | Minimum One Bit Operations to Make Integers Zero | Memoization + Bit Manipulation | Hard | 5 of 142 | LeetCode → |
| 10 | Divide Players Into Teams of Equal Skill | Two Pointers | Medium | 6 of 142 | LeetCode → |
| 11 | Remove Stones to Minimize the Total | Heap + Greedy | Medium | 4 of 142 | LeetCode → |
| 12 | Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts | Greedy | Medium | 3 of 142 | LeetCode → |
| 13 | Minimum Number of Chairs in a Waiting Room | Simulation + String | Easy | 3 of 142 | LeetCode → |
| 14 | Flip String to Monotone Increasing | DP | Medium | 5 of 142 | LeetCode → |
If you are short on time, these carry more Expedia-specific signal per hour than the universal top-100 lists.
Reported in the Last Six Months
The recency-filtered slice of Expedia’s list, ranked by how often each was reported. Expect heavy overlap with the all-time classics — that overlap is the point, it means these stay in rotation.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 1 | Group Anagrams | Sorting + Hash Table | Medium | Solve → |
| 2 | Merge Intervals | Quicksort | Medium | Solve → |
| 3 | Two Sum | Hash Table + Array | Easy | Solve → |
| 4 | Basic Calculator II | Stack | Medium | Solve → |
| 5 | Capacity To Ship Packages Within D Days | Binary Search | Medium | Solve → |
| 6 | Find Pivot Index | Prefix Sum | Easy | Solve → |
| 7 | LFU Cache | Doubly Linked List + Design | Hard | Solve → |
| 8 | LRU Cache | Doubly Linked List + Design | Medium | Solve → |
| 9 | Maximum Frequency Stack | Ordered Set + Design | Hard | LeetCode → |
| 10 | Remove Stones to Minimize the Total | Heap + Greedy | Medium | LeetCode → |
| 11 | Sliding Window Maximum | Range Query + Monotonic Queue | Hard | Solve → |
| 12 | Using a Robot to Print the Lexicographically Smallest String | Stack + Greedy | Medium | LeetCode → |
System Design (HLD) Problems Asked at Expedia
| # | Problem | Difficulty | Link |
|---|---|---|---|
| 1 | BookMyShow (Hotel and Flight Booking) | Advanced | Read → |
| 2 | E-commerce Platform | Advanced | Read → |
| 3 | Payment System | Advanced | Read → |
| 4 | Search Autocomplete (Destination Search) | Intermediate | Read → |
| 5 | Nearby Service (Hotels Near Me) | Intermediate | Read → |
| 6 | Rules Engine (Pricing and Promotions) | Intermediate | Read → |
| 7 | Zomato (Search and Listings) | Advanced | Read → |
| 8 | Notification System (Itinerary Updates) | Intermediate | Read → |
| 9 | Distributed Cache | Intermediate | Read → |
| 10 | Rate Limiter (Partner API Quotas) | Beginner | Read → |
LLD / Machine Coding Problems Asked at Expedia
Some loops, more often in India, replace one DSA round with an object-oriented design question. Reported prompts are self-contained systems you model in classes and then extend, rather than distributed design.
| # | Problem | Difficulty | Link |
|---|---|---|---|
| 1 | Restaurant Booking | Intermediate | Read → |
| 2 | Delivery Slot Booking | Intermediate | Read → |
| 3 | Order Management System | Intermediate | Read → |
| 4 | Payment Wallet | Intermediate | Read → |
| 5 | Splitwise | Intermediate | Read → |
| 6 | Parking Lot | Beginner | Read → |
DSA Problems Asked at Expedia
67 problems across 12 pattern groups. Each group is allocated in proportion to its real share of Expedia’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.
Strings
Parsing, transformation, and in-place edits. Clarify the character set and whitespace rules before you start. All 9 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 1 | Rearrange Words in a Sentence | Sorting + String | Medium | LeetCode → |
| 2 | Valid Word | String | Easy | LeetCode → |
| 3 | Group Anagrams | Sorting + Hash Table | Medium | Solve → |
| 4 | Count and Say | String | Medium | Solve → |
| 5 | Count Vowel Substrings of a String | Hash Table + String | Easy | Solve → |
| 6 | Minimum Number of Chairs in a Waiting Room | Simulation + String | Easy | LeetCode → |
| 7 | Roman to Integer | Math + Hash Table | Easy | Solve → |
| 8 | Reformat Date | String | Easy | LeetCode → |
| 9 | String to Integer (atoi) | String | Medium | Solve → |
Binary Search
Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 8 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 10 | Find the Smallest Divisor Given a Threshold | Binary Search | Medium | Solve → |
| 11 | Valid Triangle Number | Binary Search + Greedy | Medium | LeetCode → |
| 12 | Capacity To Ship Packages Within D Days | Binary Search | Medium | Solve → |
| 13 | K-diff Pairs in an Array | Binary Search + Two Pointers | Medium | LeetCode → |
| 14 | Koko Eating Bananas | Binary Search | Medium | Solve → |
| 15 | Max Consecutive Ones III | Sliding Window + Prefix Sum | Medium | Solve → |
| 16 | Search in Rotated Sorted Array | Binary Search | Medium | Solve → |
| 17 | Subarray Product Less Than K | Sliding Window + Prefix Sum | Medium | Solve → |
Sliding Window & Two Pointers
Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. All 8 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 18 | Divide Players Into Teams of Equal Skill | Two Pointers | Medium | LeetCode → |
| 19 | Minimum Swaps to Group All 1’s Together | Sliding Window | Medium | LeetCode → |
| 20 | String Compression | Two Pointers | Medium | Solve → |
| 21 | Container With Most Water | Greedy + Two Pointers | Medium | Solve → |
| 22 | Fruit Into Baskets | Sliding Window | Medium | Solve → |
| 23 | Longest Substring Without Repeating Characters | Sliding Window | Medium | Solve → |
| 24 | Maximum Points You Can Obtain from Cards | Sliding Window + Prefix Sum | Medium | Solve → |
| 25 | Minimum Number of Swaps to Make the String Balanced | Bracket Sequences + Stack | Medium | Solve → |
Dynamic Programming
State definition is the whole battle. Say the recurrence out loud before you write the table. All 7 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 26 | Minimum One Bit Operations to Make Integers Zero | Memoization + Bit Manipulation | Hard | LeetCode → |
| 27 | Number of Good Binary Strings | DP | Medium | LeetCode → |
| 28 | Best Time to Buy and Sell Stock | DP | Easy | Solve → |
| 29 | Flip String to Monotone Increasing | DP | Medium | LeetCode → |
| 30 | House Robber | DP | Medium | Solve → |
| 31 | Generate Parentheses | Bracket Sequences + Backtracking | Medium | Solve → |
| 32 | Trapping Rain Water | Monotonic Stack + Two Pointers | Hard | Solve → |
Stack & Monotonic Stack
Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 6 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 33 | Remove Duplicate Letters | Monotonic Stack + Greedy | Medium | Solve → |
| 34 | Valid Parentheses | Bracket Sequences + Stack | Easy | Solve → |
| 35 | Number of Visible People in a Queue | Monotonic Stack | Hard | Solve → |
| 36 | Basic Calculator II | Stack | Medium | Solve → |
| 37 | Check if a Parentheses String Can Be Valid | Bracket Sequences + Stack | Medium | LeetCode → |
| 38 | Using a Robot to Print the Lexicographically Smallest String | Stack + Greedy | Medium | LeetCode → |
Arrays & Hashing
Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. All 6 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 39 | Most Visited Sector in a Circular Track | Simulation + Array | Easy | LeetCode → |
| 40 | Two Sum | Hash Table + Array | Easy | Solve → |
| 41 | Find Pivot Index | Prefix Sum | Easy | Solve → |
| 42 | Degree of an Array | Hash Table + Array | Easy | LeetCode → |
| 43 | Minimum Value to Get Positive Step by Step Sum | Prefix Sum | Easy | Solve → |
| 44 | Rotting Oranges | BFS | Medium | Solve → |
Graphs
Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 5 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 45 | The Earliest Moment When Everyone Become Friends | Union-Find | Medium | LeetCode → |
| 46 | Number of Islands | Union-Find + BFS | Medium | Solve → |
| 47 | Cheapest Flights Within K Stops | Shortest Path + Graph | Medium | Solve → |
| 48 | Max Area of Island | Union-Find + BFS | Medium | Solve → |
| 49 | Word Ladder | Bidirectional Search + BFS | Hard | Solve → |
Intervals, Greedy & Sorting
Sort, then make a local decision you can defend. Expect to justify why greedy is safe here. All 5 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 50 | Break a Palindrome | Greedy | Medium | LeetCode → |
| 51 | Minimum Replacements to Sort the Array | Greedy | Hard | LeetCode → |
| 52 | Merge Intervals | Quicksort | Medium | Solve → |
| 53 | Maximum Palindromes After Operations | Greedy | Medium | Solve → |
| 54 | Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts | Greedy | Medium | LeetCode → |
Trees
Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 4 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 55 | Sliding Window Maximum | Range Query + Monotonic Queue | Hard | Solve → |
| 56 | Kth Smallest Element in a BST | BST + Binary Tree | Medium | Solve → |
| 57 | Validate Binary Search Tree | BST + Binary Tree | Medium | Solve → |
| 58 | Verify Preorder Sequence in Binary Search Tree | BST + Monotonic Stack | Medium | LeetCode → |
Tries & String Search
Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 3 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 59 | Unique Substrings With Equal Digit Frequency | Rolling Hash + Hash Function | Medium | LeetCode → |
| 60 | Find the Index of the First Occurrence in a String | Boyer–Moore String-Search Algorithm + KMP | Easy | Solve → |
| 61 | Palindrome Pairs | Hash Function + Trie | Hard | LeetCode → |
Design (Coding)
Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 3 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 62 | LRU Cache | Doubly Linked List + Design | Medium | Solve → |
| 63 | LFU Cache | Doubly Linked List + Design | Hard | Solve → |
| 64 | Maximum Frequency Stack | Ordered Set + Design | Hard | LeetCode → |
Heap / Priority Queue
Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 3 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 65 | Remove Stones to Minimize the Total | Heap + Greedy | Medium | LeetCode → |
| 66 | Reorganize String | Heap + Greedy | Medium | Solve → |
| 67 | Maximum Number of Events That Can Be Attended | Heap + Greedy | Medium | Solve → |
Expedia’s Favourite Patterns (Ranked)
| Rank | Pattern | Frequency | Problems on list | Start with |
|---|---|---|---|---|
| 1 | Strings | Very High | 9 (13%) | Rearrange Words in a Sentence, Valid Word, Group Anagrams |
| 2 | Binary Search | High | 8 (12%) | Find the Smallest Divisor Given a Threshold, Valid Triangle Number, Capacity To Ship Packages Within D Days |
| 3 | Sliding Window & Two Pointers | High | 8 (12%) | Divide Players Into Teams of Equal Skill, Minimum Swaps to Group All 1’s Together, String Compression |
| 4 | Dynamic Programming | Medium-High | 7 (10%) | Minimum One Bit Operations to Make Integers Zero, Number of Good Binary Strings, Best Time to Buy and Sell Stock |
| 5 | Stack & Monotonic Stack | Medium-High | 6 (9%) | Remove Duplicate Letters, Valid Parentheses, Number of Visible People in a Queue |
| 6 | Arrays & Hashing | Medium-High | 6 (9%) | Most Visited Sector in a Circular Track, Two Sum, Find Pivot Index |
| 7 | Graphs | Medium | 5 (7%) | The Earliest Moment When Everyone Become Friends, Number of Islands, Cheapest Flights Within K Stops |
| 8 | Intervals, Greedy & Sorting | Medium | 5 (7%) | Break a Palindrome, Minimum Replacements to Sort the Array, Merge Intervals |
| 9 | Trees | Medium | 4 (6%) | Sliding Window Maximum, Kth Smallest Element in a BST, Validate Binary Search Tree |
| 10 | Tries & String Search | Medium | 3 (4%) | Unique Substrings With Equal Digit Frequency, Find the Index of the First Occurrence in a String, Palindrome Pairs |
How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Strings, Binary Search, Sliding Window & Two Pointers covers the bulk of what Expedia actually asks. The rest is insurance for the one round that goes somewhere unexpected.
The Strengths Assessment and the HackerRank OA
Two screening stages sit before any human technical conversation, and candidates routinely misjudge both.
Strengths assessment. An automated test, commonly reported at forty-five to sixty minutes, covering situational judgment and work preferences rather than technical content. There is no coding in it. It is not a formality and loops do get closed here, but it is also not something you can study for. The one useful piece of advice is to answer consistently: the format repeats similar situations in different wording, and contradictory answers are the thing it detects. Some referred candidates report skipping this stage entirely.
HackerRank online assessment. Typically sixty to ninety minutes with two problems in the easy-to-medium band. Practice in the browser rather than your own editor, because the difference matters more than people expect: no autocomplete, slower navigation, and you have to read the input and output format from the problem statement rather than inferring it from a function signature. Reported topics stay in familiar territory — arrays, strings, hash maps, sorting, two pointers, simple greedy and interval work — and the whole-list pattern data earlier on this page is a good guide to what to drill.
One practical note on the onsite coding rounds: candidates consistently report two problems per sixty-minute round. Interviewers prefer a complete solution with stated complexity and a handled edge case over a partially optimised one, so finish the first problem cleanly and move on.
Hiring Manager Round Questions
| # | Question |
|---|---|
| 1 | Walk me through the system you own today and where its weak points are. |
| 2 | Tell me about a production incident you were responsible for resolving. |
| 3 | Tell me about a time you had to work with a partner or third-party API that was unreliable. |
| 4 | Tell me about a trade-off you made between delivery speed and code quality. |
| 5 | How do you handle a disagreement with a product manager about scope? |
| 6 | Tell me about a time you improved something nobody asked you to improve. |
| 7 | What does good code review look like on your team? |
| 8 | Why Expedia, and why a travel platform specifically? |
For experienced hires this round carries real weight and it is not a formality. Expedia’s engineering is heavily integration-driven — supplier feeds, payment providers, partner APIs — so stories about making unreliable dependencies behave land better than stories about green-field building. Have concrete numbers for latency, volume, or failure rates where you can.
14-Day Prep Plan
Built from the pattern ranking above, so the heaviest topics get the most time.
| Day | Focus | Problems |
|---|---|---|
| 1 | Strings (part 1) | Rearrange Words in a Sentence, Valid Word, Group Anagrams |
| 2 | Strings (part 2) | Count and Say, Count Vowel Substrings of a String, Minimum Number of Chairs in a Waiting Room |
| 3 | Binary Search (part 1) | Find the Smallest Divisor Given a Threshold, Valid Triangle Number, Capacity To Ship Packages Within D Days |
| 4 | Binary Search (part 2) | K-diff Pairs in an Array, Koko Eating Bananas, Max Consecutive Ones III |
| 5 | Sliding Window & Two Pointers (part 1) | Divide Players Into Teams of Equal Skill, Minimum Swaps to Group All 1’s Together, String Compression |
| 6 | Sliding Window & Two Pointers (part 2) | Container With Most Water, Fruit Into Baskets, Longest Substring Without Repeating Characters |
| 7 | Dynamic Programming | Minimum One Bit Operations to Make Integers Zero, Number of Good Binary Strings, Best Time to Buy and Sell Stock |
| 8 | Stack & Monotonic Stack | Remove Duplicate Letters, Valid Parentheses, Number of Visible People in a Queue |
| 9 | Arrays & Hashing | Most Visited Sector in a Circular Track, Two Sum, Find Pivot Index |
| 10 | Graphs | The Earliest Moment When Everyone Become Friends, Number of Islands, Cheapest Flights Within K Stops |
| 11 | Intervals, Greedy & Sorting | Break a Palindrome, Minimum Replacements to Sort the Array, Merge Intervals |
| 12 | Mock round | Two problems in 45 minutes, timed, no hints. Simulate the real round. |
| 13 | Revision | Redo the problems you failed or needed a hint on. |
| 14 | Light review + rest | Re-read your pattern notes. Sleep early. |
Tips for Expedia Interviews
- Expect the optimisation ladder. The reported pattern is a working solution, then “can you improve the time complexity”, then “can you do it in constant space”. Rehearse stating complexity after every version so the follow-up is a conversation rather than a surprise.
- Two problems per round means pace matters. Budget roughly twenty-five minutes each. A perfect first answer and an untouched second problem scores worse than two solid ones.
- Treat booking as a reservation problem, not a shopping cart. Inventory is finite and shared, so holds with expiry, idempotent confirmation, and overbooking policy are the core of the design answer. Say which you are implementing.
- Have an answer for price changes mid-session. Cached fares go stale, suppliers reprice, and the user sees one number and pays another. Decide whether you honour the quote, re-validate at checkout, or both, and name the cost.
- Design for third-party failure. Supplier and payment integrations time out and double-charge. Timeouts, retries with backoff, idempotency keys, circuit breakers, and a reconciliation job belong in the answer unprompted.
- Do the strengths assessment properly. It is automated and situational rather than technical, but it is a real gate. Answer consistently rather than trying to guess the ideal profile.
- Prepare the hiring manager round like a technical round. For SDE 2 and above, bring one system you own, its weak points, and an incident you handled end to end.