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

Software Engineer

MakeMyTrip
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
Overall, the experience was good. It was a mixture of theoretical knowledge, DSA abilities, and some emphasis on development knowledge, even though I am a recent graduate. There were three technical rounds and one HR round in total. The first round consisted of 2 DSA questions and 10 MCQs covering subjects like basic C++, DBMS, and OOPs. The second round was a one-on-one interview where the interviewer asked two DSA questions and requested solving them while sharing screens. The difficulty level was easy to medium, easier than the coding round. In the third round, I interviewed with senior personnel who inquired about my development efforts and projects in college. It was more like a fruitful discussion. This interview was concise and brief. In the HR round, they only asked about the interview experience.
Application story
I applied through the college TnP cell, and the journey was smooth. The company conducted interviews for shortlisted candidates on HackerRank and asked us to share screens while solving problems. Language was not a barrier, and I was free to choose any language I wanted to code in.
Why selected/rejected for the role?
I performed well in the coding rounds during the interview. An added advantage was asking the right questions, whether they were technical or related to the company's business. This approach helps increase the chances of acceptance because it demonstrates the candidate's proactive attitude towards the job.
Preparation
Duration: 4 months
Topics: String manipulation, Arrays, Basic Dynamic Programming, Object-Oriented Programming (OOPs), Database Management System (DBMS), SQL, Web Development
Tip
Tip

Tip 1: Most important DSA - Medium level. Practice on GeeksforGeeks or InterviewBit.

Tip 2: Engage in some web development using frameworks like Node.js, Spring Boot, Django, React, etc.

Tip 3: Brush up on basic computer science concepts for OOPs.

Application process
Where: Campus
Eligibility: 7.5 CGPA
Resume Tip
Resume tip

Tip 1: Create a crisp one-page resume. 

Tip 2: Showcase unique web development projects on your resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date6 Sep 2021
Coding problem2

10 MCQs
2 DSA questions - 1 easy and 1 medium

1. write a program for KMP Algorithm for Pattern Searching

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

You are given two strings 'S' and 'P' consisting of lowercase English alphabets. Your task is to find whether the 'P' is present in 'S' as a substring or not.

Note
1. There may be more than one occurrence of 'P' in 'S'.
2. Some alphabets in the strings may be repeated.
Problem approach

How to use lps[] to decide the next positions (or to know the number of characters to be skipped)?

We start the comparison of pat[j] with j = 0 with characters of the current window of text.
We keep matching characters txt[i] and pat[j] and keep incrementing i and j while pat[j] and txt[i] keep matching.
When we see a mismatch
We know that characters pat[0..j-1] match with txt[i-j…i-1] (Note that j starts with 0 and increments it only when there is a match).
We also know (from the above definition) that lps[j-1] is the count of characters of pat[0…j-1] that are both proper prefix and suffix.
From the above two points, we can conclude that we do not need to match these lps[j-1] characters with txt[i-j…i-1] because we know that these characters will anyway match. Let us consider the above example to understand this.

Try solving now

2. Pair Sum

Easy
15m average time
85% success
0/40
Asked in companies
AdobeGoldman SachsFacebook

Given an array of N integers, and an integer K, find the number of pairs of elements in the array whose sum is equal to K.

Problem approach

// C++ implementation of simple method to find count of
// pairs with given sum K.
#include 
using namespace std;

// Returns number of pairs in arr[0..n-1] with sum equal
// to 'K'
int getPairsCount(int arr[], int n, int K)
{
// Initialize result
int count = 0;

// Consider all possible pairs and check their sums
for (int i = 0; i < n; i++)
for (int j = i + 1; j < n; j++)
if (arr[i] + arr[j] == K)
count++;

return count;
}

// Driver function to test the above function
int main()
{
int arr[] = { 1, 5, 7, -1 };
int n = sizeof(arr) / sizeof(arr[0]);
int K = 6;
cout << "Count of pairs is "
// Function Call
<< getPairsCount(arr, n, K);
return 0;
}

// This code is contributed by Aditya Kumar (adityakumar129)

Try solving now
02
Round
Easy
Face to Face
Duration90 minutes
Interview date8 Nov 2023
Coding problem2

One on one screen share interview.

1. Search In Infinite Sorted 0-1 Array

Given a sorted array consisting 0s and 1s. The task is to find the index of first 1 in the given array.

Problem approach

// C++ implementation to find the index of
// first '1' in a sorted array of 0's and 1's
#include 
using namespace std;

// function to find the index of first '1'
int indexOfFirstOne(int arr[], int n)
{
// traverse the array from left to right
for (int i = 0; i < n; i++)

// if true, then return i
if (arr[i] == 1)
return i;

// 1's are not present in the array
return -1;
}

// Driver program to test above
int main()
{
int arr[] = { 0, 0, 0, 0, 0, 0, 1, 1, 1, 1 };
int n = sizeof(arr) / sizeof(arr[0]);
cout << indexOfFirstOne(arr, n);
return 0;
}

2. Repeated Substring Pattern

Given a string s, check if it can be constructed by taking a substring of it and appending multiple copies of the substring together.

Problem approach

class Solution {
public:
bool repeatedSubstringPattern(string s) {
int n=s.size();
for(int i=n/2;i>=1;i--){ 
if(n%i==0){ 
if(s.substr(0,n-i)==s.substr(i))return true; 
}
}
return false;
}
};

03
Round
Medium
HR Round
Duration20 minutes
Interview date9 Nov 2023
Coding problem3

Interviewer asked about the dev projects done. I explained my projects, then he went onto asking the details of projects like what libraries i used. Some discussion went onto the encryption logic i used on my user login service on my projects. After that, Discussed on future prospects of software engineering. Was a fun interview, something totally different from DSA centric, with we were already accustomed. Overall, experience was good. Interview made me feel enough comfortable at first.

1. Tell me about the future prospects of software engineering.

Problem approach

Tip 1: talk about new tech
Tip 2: work on Prompt engineering, AI etc and talk about that

2. Tell me about the your development projects, and libraries you used in these projects.

Problem approach

Tip 1: Focus on main elements of the projects you did
Tip 2: Talk about the libraries used

3. Explain the encryption logic, User login service, DB storage used in your project.

Problem approach

Tip 1: Work extensively on nosql Databases
Tip 2: talk about tools you used in projects

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
Software Developer
3 rounds | 9 problems
Interviewed by MakeMyTrip
1602 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 13 problems
Interviewed by MakeMyTrip
1494 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by MakeMyTrip
869 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by MakeMyTrip
2808 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7977 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes