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

SDE - 2

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

Interview preparation journey

expand-icon
Journey
I completed my B. Tech in information technology in the year 2021. My first job was at Amazon, and I spent two amazing years there working on micro-services. The tech stack included Java backend, AWS services, React, and more.
Application story
I saw application on company's career site and told my friend to refer me for the same. I received an online test link after three days. After clearing the online test, 4 interview rounds were conducted in which 1 being hiring manager round.
Why selected/rejected for the role?
I was selected for this role because of my deep understanding of software engineering principles, proficiency in programming languages, proven track record of delivering high-quality code, and ability to collaborate effectively with cross-functional teams. My LLD knowledge helped me as well.
Preparation
Duration: 2 months
Topics: Data Structures, OOPS, LLD, Trees, Graph
Tip
Tip

Tip 1 : Practice questions fully on your own.
Tip 2 : Be calm during the interview.
Tip 3 : Rather than jumping to solutions, jump to approach.

Application process
Where: Referral
Eligibility: 2 years of experience
Resume Tip
Resume tip

Tip 1 : Keep it short and simple
Tip 2 : Tailor your resume to the job

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date27 Jan 2023
Coding problem3

1. Alert Using Same Key-Card More than Two Times in a One Hour Period

Easy
20m average time
80% success
0/40
Asked in companies
OracleAdobeExpedia Group

The office doors can only be open by using the ‘key-cards’ given to the workers. Whenever a worker uses their ‘key-card’ to unlock the door, the office’s security system saves his name and the time when he used it in ‘any order’. The security system programmed in such a way that, if any worker uses the ‘key-card’ strictly “more than two times in one hour”, then the system emits an ‘alert’.

You are given two string arrays ‘keyName’, and ‘keyTime’, denoting the ‘name’ and the ‘time’ of the worker when he used his ‘key-card’ in a “single day”. Your task is to find the list of “unique worker” names who received an ‘alert’.

Note:

1. The ‘keyName’ contains only the lower-case English alphabets.

2. The ‘keyTime’ is given in the 24-hour format “HH:MM”, such as “00:00”, “13:35”, and “23:59” are some of the valid times.

3. “08:05 - 09:05” is considered to be within a ‘one-hour’, whereas “12:05 - 13:06” is not considered to be within a ‘one-hour’ period.

4. The system saves the ‘name’ and the ‘time’ of the workers in ‘any order’.

5. Each pair of [‘keyName’, ‘keyTime’] is ‘unique’.

6. Print the output in ‘increasing’ order alphabetically. 
Try solving now

2. Closest Number

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftArcesiumExpedia Group

You are given two integers N and M. Can you find a number closest to N and divisible by M.

Here closest number to N means a number whose absolute difference is minimum with N. If there are two integers closest to N then the answer will be the one which is a smaller integer.

For Example:

Let N = 8 and M = 3
The numbers divisible by 3 are 3, 6, 9, …
From these numbers 9 is closest to 8. Thus, the answer is 9.
Problem approach

I went for O(nlogn) approach where I sorted the array and found the absolute difference.

Try solving now

3. Count Even Or Odd

Hard
30m average time
60% success
0/120
Asked in companies
UberOlaExpedia Group

Tanmay and Rohit are best buddies. One day Tanmay gives Rohit a problem to test his intelligence and skills. He gives him an array of N natural numbers and asks him to solve the following queries:-

Query 0 :

0 x y

This operation modifies the element present at index x to y.

Query 1 :

1 x y 

This operation counts the number of even numbers in range x to y inclusive.

Query 2 :

2 x y 

This operation counts the number of odd numbers in range x to y inclusive.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date3 Feb 2023
Coding problem2

2 questions were asked and both were to be solved on hackerrank platform.

1. Longest Prefix Which is Suffix

Moderate
0/80
Asked in companies
Expedia GroupFlipkart limited

You are given a string ‘str’.


Find the longest prefix in the string which is also a suffix of the string, excluding the string itself.


If there's no such string return an empty string "".


Example:
Input: ‘str’ = ‘ababcdabab’ 

Output: 'abab'

Explanation:
Here the prefix ‘abab’ is equal to the suffix ‘abab’. The length of the prefix is 4. There's no other prefix that has length > 4 and is also present as a suffix. Hence the answer is 'abab'. 
Try solving now

2. House Robber

Moderate
26m average time
0/80
Asked in companies
PayPalExpedia GroupGoldman Sachs

A thief wants to loot houses. He knows the amount of money in each house. He cannot loot two consecutive houses. Find the maximum amount of money he can loot.

Try solving now
03
Round
Medium
Video Call
Duration60 minutes
Interview date3 Feb 2023
Coding problem1

1. Paths in a Maze

Easy
0/40
Asked in companies
Expedia GroupAmazonMeesho

You are given a 2-D matrix consisting of 0’s and 1’s with ‘N’ rows and ‘N’ columns, you are supposed to find all paths from the cell (0,0) (top-left cell) to the cell (N-1, N-1)(bottom-right cell). All cells with value 0 are blocked and cannot be travelled through while all cells with value 1 are open.

If you are currently at cell (x,y) then you can move to (x+1,y)(denoted by ‘D’), (x-1,y)(denoted by ‘U’), (x,y+1)(denoted by ‘R’), (x,y-1)(denoted by ‘L’) in one move. You cannot move out of the grid.

Example :

Example

Try solving now
04
Round
Medium
Video Call
Duration60 minutes
Interview date8 Feb 2023
Coding problem1

This was a LLD round

1. System Design

Create LLD/ classes including functions and parameters for a system on which a traveler can marks the places he/she has visited and location of places he/she is willing to visit.

05
Round
Easy
Video Call
Duration60 minutes
Interview date10 Feb 2023
Coding problem1

This was a Hiring manager round

1. Basic HR Questions

Introduce yourself

What are your hobbies?

Tell us about your previous working roles?

What do you expect from us?

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
4639 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2764 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29892 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6766 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5281 views
0 comments
0 upvotes