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

SDE - 1

MakeMyTrip
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
When I joined college, I was unaware of this Data Structure and Algorithm, which made my journey to getting an internship way more complicated. From that point, I started doing questions on code studio and other platforms.
Application story
This company visited my college for placement, and I got to know about it from my college placement cell.
Why selected/rejected for the role?
I was rejected because I was not able to provide a good approach to the DSA questions that were being asked.
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Practice from different coding platforms, solve medium level problems.
Tip 2 : Brush up computer fundamentals from subjects like OS, DBMS and CN.
Tip 3 : Have a good project or good internship experience and have in-depth knowledge regarding what you have done.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1: Do not even mention topics you have no idea about. 

Tip 2: You should have some projects on your resume and be able to explain clearly why you chose each particular project, what it does, its functionality, outcomes, and everything about each of the projects. Tip 3: Tailor your resume according to the needs of the role you are applying for.

Interview rounds

01
Round
Medium
Face to Face
Duration60 minutes
Interview date23 Sep 2022
Coding problem2

1. Intersection of Linked Lists

Easy
20m average time
70% success
0/40
Asked in companies
IntuitAmazonWalmart

You are given two linked lists L1 and L2 which are sorted in ascending order. You have to make a linked list with the elements which are present in both the linked lists and are present in ascending order.

Example:-
L1 = 1->2->3->4->7
L2 = 2->4->6->7

ANSWER:- The answer should be 2->4->7 because 2,4, and 7 are present in both the linked lists.
Problem approach

There are two singly linked lists in a system. By some programming error, the end node of one of the linked lists got linked to the second list, forming an inverted Y shaped list. Write a program to get the point where two linked list merges.

Try solving now

2. Find Number of Islands

Moderate
34m average time
60% success
0/80
Asked in companies
WalmartShareChatAmazon

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to another cell, if one cell lies immediately next to the other cell, in any of the eight directions (two vertical, two horizontal, and four diagonals).

A group of connected cells having value 1 is called an island. Your task is to find the number of such islands present in the matrix.

Problem approach

I used the DFS concept to solve this question, visited all the unvisited elements of the 2D array, and counted the total number of islands.

Try solving now
02
Round
Medium
Face to Face
Duration60 minutes
Interview date23 Sep 2022
Coding problem2

1. Delete Leaf Nodes with Value X

Moderate
27m average time
0/80
Asked in companies
MicrosoftDunzoSprinklr

You are given a binary tree, in which the data present in the nodes are integers. You are also given an integer X.

Your task is to delete all the leaf nodes with value X. In the process, if the newly formed leaves also have value X, you have to delete them too.

For example:

For the given binary tree, and X = 3:

tree

Problem approach

I simply used postorder traversal and deleted the leaf node if it satisfied the given condition of the question, which is that it should be a leaf node and have a value equal to x.

Try solving now

2. Delete alternate nodes

Easy
20m average time
80% success
0/40
Asked in companies
MakeMyTripMorgan StanleyMicrosoft

Given a Singly Linked List of integers, delete all the alternate nodes in the list.

Example:
List: 10 -> 20 -> 30 -> 40 -> 50 -> 60 -> null
Alternate nodes will be:  20, 40, and 60.

Hence after deleting, the list will be:
Output: 10 -> 30 -> 50 -> null
Note :
The head of the list will remain the same. Don't need to print or return anything.
Problem approach

Given a Singly Linked List, starting from the second node delete all alternate nodes of it. For example, if the given linked list is 1->2->3->4->5 then your function should convert it to 1->3->5, and if the given linked list is 1->2->3->4 then converts it to 1->3.

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date23 Sep 2022
Coding problem1

1. Basic HR Questions

Tell me about yourself.
Why should I hire you?
What are your strengths and weaknesses?
Why do you want to work at our company?
What is the difference between confidence and over confidence?

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 - 1
4 rounds | 4 problems
Interviewed by MakeMyTrip
1285 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by MakeMyTrip
1210 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 13 problems
Interviewed by MakeMyTrip
1494 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by MakeMyTrip
875 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes