Expedia Coding Interview Questions
17 coding questions reported by candidates who interviewed at Expedia, out of 18 Expedia questions we track. They average 3.0/5 difficulty (medium). Most common topics: Expedia, Internship, Dynamic Programming, House Robber. 15 were reported asked within the last year, most recently in July 2026.
Practice Expedia questions →Difficulty
- 2/5 — easy1
- 3/5 — medium15
- 4/5 — hard1
Asked for SWE (17)
Reported Expedia coding questions
Number of Provinces
3/5In this standard graph traversal interview question from Expedia, you are given an adjacency matrix representing network connections between various municipalities and asked to count the total number of isolated clusters. The task tests your fundamental understanding of graph theory, breadth-first search, depth-first search, or disjoint-set data structures for identifying connected components. To access the complete problem statement and a clean, optimal model solution, you will need a paid subscription.
asked July 2026ExpediaMinimum Additional Capabilities to Equalize Team Work Hours
3/5This Expedia interview question challenges candidates to figure out how to bridge the gap in work hours across interconnected groups. You will need to design an efficient strategy to determine the fewest extra skill units required to bring every division up to a shared standard. This problem tests your ability to navigate relationships and optimize resource allocation under constraints. Unlock the complete problem description and expert model solution with a subscription.
asked July 2026ExpediaGet Maximum Efficiency
3/5This Expedia interview question requires candidates to optimize evaluation metrics for machine learning workloads based on test case arrival timestamps. The objective revolves around dynamically determining an activation window that maximizes system performance by balancing processed workloads against active duration intervals. Tackling this challenge effectively demands clever sorting techniques and efficient range query handling to achieve optimal execution speeds. Access to the comprehensive problem breakdown, underlying algorithmic strategy, and complete verified code implementation is available exclusively through our paid subscription.
asked July 2026InternshipExpediaGet Minimum Steps
3/5Encountered in an Expedia internship interview, this challenge tests your algorithmic efficiency by asking you to transform one ordered sequence into another using a specific repositioning operation. You must compute the minimal set of adjustments needed to rearrange neural network layers from an initial configuration to a target layout. The task examines your knack for recognizing permutation patterns and optimizing sequence transformations under strict constraints. Accessing the complete problem description, test cases, and optimal solution requires an active subscription.
asked July 2026InternshipExpediaScattered Palindrome Substring Count (Swappable to Palindrome)
4/5This intriguing algorithmic problem, sourced from Expedia interviews, challenges you to analyze text strings and determine how many of their continuous segments can be rearranged into palindromes. Rather than checking exact matches, the task focuses on character frequency distributions, specifically tracking odd counts within sliding windows. It is an excellent test of string manipulation techniques and optimization strategies for substring queries. Gain immediate access to the full problem description and optimal solution by purchasing a subscription.
asked July 2026ExpediaDynamic Programming (Medium) Similar to House Robber
3/5Featured in technical assessments at Expedia, this classic algorithmic problem tests your proficiency with linear optimization and state tracking. Given a sequential collection of values, you must compute the optimal subset accumulation under the constraint that no two adjacent elements can be selected simultaneously. The scenario challenges you to recognize overlapping subproblems and construct an efficient linear-time recurrence relation. To view the full problem breakdown, constraints, and verified model solution, a subscription is required.
asked July 2026Dynamic ProgrammingExpediaHouse RobberCount Number of Nice Subarrays (Subarray vs Subsequence)
3/5This analytical array problem, featured in Expedia interviews, tasks you with finding the total count of contiguous segments that contain a precise quantity of odd numbers. It emphasizes the subtle distinction between contiguous subarrays and arbitrary subsequences, challenging you to implement efficient sliding window or prefix sum techniques for optimal performance. The task thoroughly evaluates your ability to handle large data streams and optimize time complexity. To view the complete prompt, constraints, and professional solution, a paid subscription is required.
asked July 2026ExpediaRank Songs by Popularity
3/5Explore this interesting Expedia interview challenge centered on organizing a collection of tracks according to user preference lists. Candidates must determine a global hierarchy where individual tracks triumph over others based on majority consensus across multiple submitters. This problem evaluates your ability to process preference permutations, model pairwise comparisons, and implement efficient sorting or graph-based algorithms under constraints. Tackling this scenario sharpens your graph theory and comparative ranking skills. Unlock the complete problem description, complexity analysis, and fully working solution by purchasing a subscription today.
asked July 2026InternshipExpediaParse a JSON string and extract required information (open-ended)
3/5Expedia coding question on reading nested JSON robustly: walk objects and arrays of unknown depth, pull out the values of one field, and cope with absent keys, wrong types and malformed documents. It tests recursive traversal, defensive parsing and clean output formatting. A subscription unlocks the full statement and the reference solution.
asked July 2026ExpediaCount Groups with Maximum Language Relationships
3/5Prepare for this Expedia coding interview question by learning how to analyze connectivity matrices and uncover interconnected clusters within a candidate pool. The task requires you to process relational data and accurately quantify collections sharing the highest degree of mutual attributes. This exercise tests your graph traversal capabilities, connected component algorithms, and data aggregation logic. Unlock the full problem description and a clean, tested model solution with a subscription.
asked July 2026ExpediaMeeting Room Scheduling
3/5Reported from Expedia interview loops, this scheduling challenge requires you to determine whether an individual can attend a series of overlapping appointments and to calculate the minimum workspace capacity needed to host them all. It tests your proficiency with interval scheduling and sweep-line algorithms. Mastering this pattern is essential for acing common calendar-based technical assessments. Unlock the full problem description, thorough examples, and optimized solution with a paid subscription.
asked July 2026ExpediaGenerate All Strings Matching Pattern With Digit Sum Constraint
3/5This Expedia coding challenge involves generating all possible strings that conform to a given pattern, which includes both fixed digits and wildcard characters. Each wildcard must be replaced by a digit within a specified maximum range. The critical constraint is that the sum of all digit values in the resulting string must precisely match a predefined target sum. This problem typically requires a systematic search strategy, such as backtracking or recursion, to explore all valid combinations of digit replacements while adhering to the sum constraint. The full problem description and a detailed model solution are available with a subscription.
asked July 2026ExpediaCalculate Triangle Area from Three Coordinate Points
2/5Highlighted in Expedia interview processes, this geometric problem asks you to compute the exact surface area of a polygon defined by three distinct coordinate points on a Cartesian plane. The challenge requires applying appropriate mathematical formulas to derive floating-point measurements from integer coordinates. It serves as a great test of foundational geometry and computational accuracy in coding interviews. Access the complete problem specification and reference solution by upgrading to a paid subscription.
asked July 2026ExpediaCalculate the Sum
3/5Presented during Expedia internship interviews, this algorithmic puzzle deals with a linear arrangement of switches that undergo sequential toggle operations within specified ranges. You are required to compute the cumulative sum of all indices where the switches remain active after all range-update commands have been applied. This task tests your capability to optimize interval modifications and efficiently manage state transitions over large datasets. The full problem text and complete model solution require a subscription.
asked July 2026InternshipExpediaSliding Window for Increasing Subarrays
3/5In this coding challenge reported from Expedia, you are tasked with examining a sequence of numerical values to identify and count specific contiguous segments that satisfy a strictly ascending order condition. The exercise evaluates your grasp of sliding window patterns and efficient array scanning techniques to optimize performance over large datasets. You will need to design an approach that maintains window constraints without redundant computations. Get full access to the complete problem statement and an expert-written model solution with a subscription.
asked July 2026ExpediaCount Strongly Connected Components Using Kosaraju's Algorithm
3/5Count the groups of nodes in a directed graph where every member can reach every other, using the two-pass transpose technique by name. Asked at Expedia, the question names the algorithm, so the interviewer is checking whether you know why the second pass works on the reversed graph in finishing order. You will produce the finishing order first, traverse the transpose, and handle nodes that stand alone as their own group. A subscription unlocks the complete problem and the reference implementation.
GraphDFSStrongly Connected ComponentsMerge One Linked List Into Another Between Two Indices
3/5Cut a span of nodes out of one linked list and splice a second list into the hole, returning the joined result. This Expedia question is pointer surgery where the boundaries do the damage: removing from the very first position changes the head, and the tail of the inserted list has to be found before it can be reattached. You will walk to the node before the cut, locate the end of the inserted list, and rejoin both ends exactly once. Subscribers get the complete problem and the reference solution.
Linked ListArraysSimulation
Expedia coding interview FAQ
- What coding questions does Expedia ask?
- 17 reported coding questions, most often on Expedia, Internship, Dynamic Programming, House Robber, Medium Difficulty.
- How hard is the Expedia coding interview?
- The reported coding questions average 3.0 out of 5: 1 at 2/5, 15 at 3/5, 1 at 4/5.
- Are these Expedia coding questions recent?
- The most recent report is from July 2026, and 15 were reported within the last twelve months. Dates come from the interview reports themselves.