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

SDE - 1

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

Interview preparation journey

expand-icon
Preparation
Duration: 5 Months
Topics: Data structures and algorithms, oops, os, dbms, web, development(ruby and reactjs) , basic quant, every topic of DSA in depth
Tip
Tip

Tip 1 : strong grasp on DSA and problem solving 
Tip 2 : follow leetcode (try to do as many medium questions as possible) 
Tip 3 : should focus on development also and internships

Application process
Where: Other
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : good projects and coding profiles like leetcode 
Tip 2 : some good internships also help

Interview rounds

01
Round
Medium
Online Coding Interview
Duration180 Minutes
Interview date11 Jun 2022
Coding problem1

coding questions on DSA and MCQs on java 
timing : late night 
no camera

1. Knight Probability in Chessboard

Moderate
20m average time
80% success
0/80
Asked in companies
Goldman SachsPhonePeAmazon

You are given an N x N chessboard and a knight. On a chessboard, the knight can supposedly move in 8 different positions from its original position i.e. if the knight is originally at (i,j) then it can move to (i + 2, j + 1), (i + 2, j - 1), (i - 2, j + 1), (i - 2, j - 1), (i + 1, j + 2), (i + 1, j - 2), (i - 1, j + 2), (i - 1, j - 2).

The rows and columns are 0 indexed, so the top-left square is (0, 0), and the bottom-right square is (N - 1, N - 1).

chessboard

(X is the Knight’s current position, O is the position Knight can visit in 1 move)

You have to make K such moves from the initial position of the knight and tell the probability of the knight being within the boundaries of the chessboard i.e you have to consider all possibilities of K moves and determine the probability that after these moves the knight will remain within the chess grid.

Note:

Print output up to 6 decimal places.
Try solving now
02
Round
Medium
Video Call
Duration50 Minutes
Interview date17 Jul 2022
Coding problem2

It was a DSA round.

1. Convert A Given Binary Tree To Doubly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
RazorpayGoldman SachsWells Fargo

Given a Binary Tree, convert this binary tree to a Doubly Linked List.

A Binary Tree (BT) is a data structure in which each node has at most two children.

A Doubly Linked List contains a previous pointer, along with the next pointer and data.

The order of nodes in Doubly Linked List must be the same as Inorder of the given Binary Tree.

The doubly linked list should be returned by taking the next pointer as right and the previous pointer as left.

You need to return the head of the Doubly Linked List.

For the given binary tree :

alt txt

You need to return the head to the doubly linked list.
The doubly linked list would be: 1 2 3 4 5 and can be represented as:

alt txt

Problem approach

i solved it using recursion. 
it was a pretty straightforward question

Try solving now

2. Find Duplicates In Array

Easy
15m average time
90% success
0/40
Asked in companies
LinkedInBNY MellonFreshworks

You are given an array/list 'ARR' consisting of N integers, which contains elements only in the range 0 to N - 1. Some of the elements may be repeated in 'ARR'. Your task is to find all such duplicate elements.

Note:
1. All the elements are in the range 0 to N - 1.
2. The elements may not be in sorted order.
3. You can return the duplicate elements in any order.
4. If there are no duplicates present then return an empty array.
Problem approach

i solved the porblem using the two pointer approach , first i gave the brute force approach and after that i optimized it.
we can store the index of highest and lowest number in some two different array and then simple used two pointer approach to get the least difference.

Try solving now
03
Round
Medium
Video Call
Duration50 Minutes
Interview date17 Jul 2022
Coding problem2

DSA Questions were asked.

1. Remove character

Easy
0/40
Asked in companies
Expedia GroupThought WorksHewlett Packard Enterprise

For a given string(str) and a character X, write a function to remove all the occurrences of X from the given string and return it.

The input string will remain unchanged if the given character(X) doesn't exist in the input string.

Problem approach

using simple brute force can give the answer 
just iterate over each string in the array and whenever we get a digit add it to the number

Try solving now

2. Rearrange string

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

You are given a string of lowercase characters. Your task is to rearrange (reorder) the string in such a way that no two adjacent characters are the same.

You have to return the rearranged string. If there exists more than one solution you can return any of them.If there is no such string you have to return “NO SOLUTION”. If your returned value is correct the program will print ‘CORRECT’ else ‘INCORRECT’.

For example :

If we are given a string "aabb", then the possible solutions are:

(i) abab
(ii) baba

We can see no two adjacent characters are the same in both strings.

So both (i) and (ii) are valid solutions.
Problem approach

standard approach using heaps.
store the frequency of all the characters in the heap (max heap) and after that check if it is possible to satsify the problem .after that keep poping the charcters and place them alternatively

Try solving now
04
Round
Easy
HR Round
Duration50 Minutes
Interview date17 Jul 2022
Coding problem1

It was a behavioural round.

1. Basic HR Questions

questions like how do you manage conflicts , anytime you learned something more than you expected on job ,
previous internship experience, how do you keep yourseld upto date with technologies and a lot many questions related to behaviour

Problem approach

Tip 1 : use STAR to answer questions 
Tip 2 : do not fake

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by Expedia Group
2277 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Expedia Group
578 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Expedia Group
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Expedia Group
774 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114578 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34960 views
7 comments
0 upvotes