Expedia Group interview experience Real time questions & tips from candidates to crack your interview

SDE - 2

Expedia Group
upvote
share-icon
5 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, OOPS, Dynamic Programming, System Design(LLD), Latest Java Concepts, Graph Theory
Tip
Tip

Tip 1 : Start topic wise, once you gain confidence, start with daily and weekly contest on LeetCode(or any other platform you prefer)
Tip 2 : Prepare as per the role are applying for. Make sure to practice FAQ for that company.
Tip 3 : Consistency (Most Important :))

Application process
Where: Campus
Eligibility: 7 CGPA and above
Resume Tip
Resume tip

Tip 1: Try to make a single page resume, which is precise and clear. Also make sure to add only those skills which you are confident about.
Tip 2: Don't use the same resume for each job profile. Modify it as per the job requirements.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date12 May 2021
Coding problem1

Link was valid for 24 hours. You can give it anytime.

1. Maximum Sum Subsequence

Hard
45m average time
55% success
0/120
Asked in companies
ArcesiumExpedia GroupOla

You are given an array “NUMS” consisting of N integers and an integer, K. Your task is to determine the maximum sum of an increasing subsequence of length K.

Note:
1. The array may contain duplicate elements.
2. The array can also contain negative integers.
3. Every element of the subsequence must be greater than or equal to the previous element.

The subsequence of an array is a sequence of numbers that can be formed by deleting some or no elements without changing the order of the remaining elements. For example, if the given array “NUMS” = {1, 2, 5, 4, 8}, then {1, 2, 5, 4, 8}, {1, 5, 8}, {2} are some of the valid subsequences whereas the sequence {4, 2} is not a valid subsequence as the order of the elements differ from the original array.

Problem approach

Sort the whole array
Combine each index with its corresponding value to create a 2-d array;
Sort the 2-d array reversely by value, then copy the largest k ones;
Sort the largest k ones by index, then return the corresponding values by index order.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date24 May 2021
Coding problem1

Interview happened in the afternoon and was taken by Senior SDE of the team. He was quite calm and helped me create a good and relaxing environment for the interview

1. Merge overlapping intervals

Easy
10m average time
90% success
0/40
Asked in companies
GrowwGoldman SachsDirecti

Given 'N' number of intervals, where each interval contains two integers denoting the boundaries of the interval. The task is to merge all the overlapping intervals and return the list of merged intervals sorted in ascending order.

Two intervals will be considered to be overlapping if the starting integer of one interval is less than or equal to the finishing integer of another interval, and greater than or equal to the starting integer of that interval.

Example:
for the given 5 intervals - [1,4], [3,5], [6,8], [10,12], [8,9].
Since intervals [1,4] and [3,5] overlap with each other, we will merge them into a single interval as [1,5].

Similarly [6,8] and [8,9] overlaps, we merge them into [6,9].

Interval [10,12] does not overlap with any interval.

Final List after merging overlapping intervals: [1,5], [6,9], [10,12]
Problem approach

If we sort the intervals by their start value, then each set of intervals that can be merged will appear as a contiguous in the sorted list. Then, we insert the first interval into our merged list and continue considering each interval in turn as follows: If the current interval begins after the previous interval ends, then they do not overlap and we can append the current interval to merged. Otherwise, they do overlap, and we merge them by updating the end of the previous interval if it is less than the end of the current interval

Try solving now
03
Round
Medium
Video Call
Duration60 minutes
Interview date25 May 2021
Coding problem1

Interview happened in the afternoon and was taken by Senior SDE of the team. He was very experienced and had good knowledge.

1. Design Question

Design a movie ticket booking system and explain your thought process while designing.

Problem approach

Tip 1: Speak out loud even if you are stuck, interview does not want the perfect solution but is interested in your step by step approach.

04
Round
Medium
Video Call
Duration60 minutes
Interview date26 May 2021
Coding problem2

Interview happened in late in the night and was taken by Senior SDE of the team in Seattle. He was very friendly and helped me create a good and relaxing environment for the interview. And explained the questions very precisely.

1. Normal BST To Balanced BST

Moderate
15m average time
85% success
0/80
Asked in companies
eBayExpedia GroupMicrosoft

You have been given a binary search tree of integers with ‘N’ nodes. Your task is to convert it into a balanced BST with the minimum height possible.

A binary search tree (BST) is a binary tree data structure that has the following properties.

• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees.

A Balanced BST is defined as a BST, in which the height of two subtrees of every node differs no more than 1.

For Example:

For the given BST:

Input

The modified BST will be:

Ouput

Problem approach

Key is here to make Node out of middle number and pass on the left of the array to form left tree and right half of the tree to form the right array

Try solving now

2. Design a hashset

Moderate
25m average time
65% success
0/80
Asked in companies
Goldman SachsExpedia GroupMorgan Stanley

Design a HashSet without using any built-in hash table libraries.

Implement the following public functions :

1) Constructor: It initializes the data members as required.

2) add(value): It inserts an element into the HashSet. The function takes one argument which is the value that needs to be added and returns nothing

3) contains(value): It checks whether the element exists in the HashSet or not. The function takes one argument which is the value that needs to be searched for in the HashSet. The function returns true if the element exists, otherwise returns false.

4) remove(value): It removes an element from the HashSet. The function takes one argument which is the value that needs to be removed from the HashSet and returns the element which is being removed. If the element does not exist in the HashSet or if HashSet is empty, return -1.
Operations Performed on the HashSet:
Query-1 (Denoted by an integer 1)- Inserts an element in the HashSet

Query-2 (Denoted by an integer 2)- Returns a boolean value denoting whether the element is present in the HashSet or not.

Query-3 (Denoted by an integer 3)- Removes the element from the HashSet.
Problem approach

Load Factor tells when to perform re-hashing. I set it to 75% meaning if we have filled 75% of the container, we need to perform rehash. The reason for doing this is to shorten the individual chains at each bucket. That way, we reduce the time for contains and remove in the average case.

Try solving now
05
Round
Easy
Video Call
Duration60 minutes
Interview date27 May 2021
Coding problem1

Interview happened in the evening and was taken by Hiring Manager.

1. Basic HR Questions

Interviewer Explained me everything about team, their requirements, what is expected out of me. It was great interacting with her. She asked a new situation based questions like : What will you do incase there's a deadline and you know that you won't be able to complete the task by EOD?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 2
4 rounds | 7 problems
Interviewed by Expedia Group
1906 views
0 comments
0 upvotes
company logo
SDE - 2
5 rounds | 7 problems
Interviewed by Expedia Group
0 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 7 problems
Interviewed by Expedia Group
4638 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2763 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29891 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6765 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5280 views
0 comments
0 upvotes