Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by MakeMyTrip Team. If you also belong to the team, you can get access from here

MakeMyTrip Verified Tick

Compare button icon Compare button icon Compare
3.7

based on 819 Reviews

Filter interviews by

MakeMyTrip Software Developer Interview Questions, Process, and Tips

Updated 26 Dec 2024

Top MakeMyTrip Software Developer Interview Questions and Answers

  • Q1. Minimum Jumps Bob lives with his wife in a city named Berland. Bob is a good husband, so he goes out with his wife every Friday to ‘Arcade’ mall. ‘Arcade’ is a very famou ...read more
  • Q2. Reverse Linked List Given a singly linked list of integers. Your task is to return the head of the reversed linked list. For example: The given linked list is 1 -> 2 -> 3 ...read more
  • Q3. Cycle Detection in a Singly Linked List You have given a Singly Linked List of integers, determine if it forms a cycle or not. A cycle occurs when a node's next points ba ...read more
View all 32 questions

MakeMyTrip Software Developer Interview Experiences

13 interviews found

I was interviewed before Feb 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 65 minutes
Round difficulty - Easy

There were 2 sections – 
Aptitude and Logical Reasoning and MCQ based on Java question ,C++, coding for 20 min and 45 min respectively.
Section A- Not very difficult to clear this round although less time was a problem.
Section B- It contains 15 multiple choice question on c/c++,java and 4 simple coding questions

  • Q1. Cycle Detection in a Singly Linked List

    You have given a Singly Linked List of integers, determine if it forms a cycle or not.

    A cycle occurs when a node's next points back to a previous node in the ...

  • Ans. 

    Floyd's algorithm can be used to solve this question.
    Define two pointers slow and fast. Both point to the head node, fast is twice as fast as slow. There will be no cycle if it reaches the end. Otherwise, it will eventually catch up to the slow pointer somewhere in the cycle.
    Let X be the distance from the first node to the node where the cycle begins, and let X+Y be the distance the slow pointer travels. To catch up, t...

  • Answered by CodingNinjas
Round 2 - Coding Test 

(3 Questions)

Round duration - 75 minutes
Round difficulty - Medium

It was an online coding test in which 3 coding question were given.

  • Q1. Smallest Window

    You are given two strings S and X containing random characters. Your task is to find the smallest substring in S which contains all the characters present in X.

    Example:

    Let S = “abdd” ...
  • Ans. 

    The naïve approach is to generate all substrings of string1 and for each substring, check whether the substring contains all characters of string2. Finally, print the smallest substring containing all characters of string2.

    The efficient solution is to use hashing. First check if the length of the string is less than the length of the given pattern, if yes then no such window can exist . Next, store the occurrence of ch...

  • Answered by CodingNinjas
  • Q2. Find Smallest Integer

    You are given an array 'ARR' consisting of 'N' positive numbers and sorted in non-decreasing order, and your task is to find the smallest positive integer value that c...

  • Ans. 

    The Brute force approach would be to find the sum of all the possible subsets and then compare sum with the sum of remaining elements.
    A better approach would be to sort the array in descending order and then take the largest elements. Now, take elements from the largest, until we get strictly more than half of total sum of the given array. As soon as the current sum is greater than half of the total sum of the given ar

  • Answered by CodingNinjas
  • Q3. Minimum steps to reach target by a Knight

    You have been given a square chessboard of size ‘N x N’. The position coordinates of the Knight and the position coordinates of the target are also given.

    Your t...

  • Ans. 

    This problem is similar to finding the shortest path in an unweighted graph. BFS can be used to solve this problem. 
    Make a queue that stores the coordinate and distance from its starting node for each cell. Try all 8 possible positions where a Knight can reach from its position. If reachable position is not already visited and is inside the board, we push this state into queue with distance 1 more than its parent ...

  • Answered by CodingNinjas
Round 3 - Face to Face 

(4 Questions)

Round duration - 60 minutes
Round difficulty - Easy

It started with a discussion on the programs given in coding round. They asked me about my interest field after that they directly jumped into Networking, Linux and Ethical Hacking part looking my interest domain. They asked me various question on networking and linux.
Then they asked me to code a simple c program

  • Q1. Reverse Linked List

    Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

    For example:
    The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then th...
  • Ans. 

    This can be solved both: recursively and iteratively.
    The recursive approach is more intuitive. First reverse all the nodes after head. Then we need to set head to be the final node in the reversed list. We simply set its next node in the original list (head -> next) to point to it and sets its next to NULL. The recursive approach has a O(N) time complexity and auxiliary space complexity.
    For solving the question is c...

  • Answered by CodingNinjas
  • Q2. Networking Question

    Port numbers of protocols like FTP,SMTP

  • Ans. 

    Port number 20 is used for FTP data while port number 21 is used for FTP Control.
    Port number 161 is used for SMTP.

  • Answered by CodingNinjas
  • Q3. Networking Question

    Explain the OSI Model

  • Ans. 

    Physical Layer
    The lowest layer of the OSI Model is concerned with electrically or optically transmitting raw unstructured data bits across the network from the physical layer of the sending device to the physical layer of the receiving device. It can include specifications such as voltages, pin layout, cabling, and radio frequencies.

    Data Link Layer
    At the data link layer, directly connected nodes are used to perform nod...

  • Answered by CodingNinjas
  • Q4. OS Question

    How to copy files in Linux ?

  • Ans. 

    The cp command is the primary method for copying files and directories in Linux. Virtually all Linux distributions can use cp. The basic format of the command is: cp [additional_option] source_file target_file
    For example:
    cp my_file.txt my_file2.txt
    This Linux command creates a copy of the my_file.txt file and renames the new file to my_file2.txt.

  • Answered by CodingNinjas

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAMakeMyTrip interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

I was interviewed before Feb 2021.

Round 1 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Technical round with 3 problems based on DSA and Algorithms.

  • Q1. Find Smallest Integer

    You are given an array 'ARR' consisting of 'N' positive numbers and sorted in non-decreasing order, and your task is to find the smallest positive integer value that c...

  • Ans. 

    The Brute force approach would be to find the sum of all the possible subsets and then compare sum with the sum of remaining elements.
    A better approach would be to sort the array in descending order and then take the largest elements. Now, take elements from the largest, until we get strictly more than half of total sum of the given array. As soon as the current sum is greater than half of the total sum of the given ar

  • Answered by CodingNinjas
  • Q2. Reverse Linked List

    Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

    For example:
    The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then th...
  • Ans. 

    This can be solved both: recursively and iteratively.
    The recursive approach is more intuitive. First reverse all the nodes after head. Then we need to set head to be the final node in the reversed list. We simply set its next node in the original list (head -> next) to point to it and sets its next to NULL. The recursive approach has a O(N) time complexity and auxiliary space complexity.
    For solving the question is c...

  • Answered by CodingNinjas
  • Q3. Smallest Window

    You are given two strings S and X containing random characters. Your task is to find the smallest substring in S which contains all the characters present in X.

    Example:

    Let S = “abdd” a...
  • Ans. 

    The naïve approach is to generate all substrings of string1 and for each substring, check whether the substring contains all characters of string2. Finally, print the smallest substring containing all characters of string2.

    The efficient solution is to use hashing. First check if the length of the string is less than the length of the given pattern, if yes then no such window can exist . Next, store the occurrence of ch...

  • Answered by CodingNinjas
Round 2 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Technical round with questions based on OOPS and Angular.

  • Q1. OOPS Question

    What are the different OOPS concepts?

  • Ans. 

    The building blocks of OOPs are : 
    1. Classes & Objects : An Object can be defined as an entity that has a state and behavior. Class is basically a collection of objects which act as building blocks. 
    2. Abstraction : It helps in displaying the essential features without showing the details or the functionality to the user. It avoids unnecessary information or irrelevant details and shows only that specific...

  • Answered by CodingNinjas
  • Q2. OOPS Question

    Given two classes C1 and C2 which are almost same.(remember not exactly same). You want to choose best among these classes so that it can be use as key in hash map. What question will you ask ...

  • Q3. Technical Question

    What is Lazy Loading? What are its advantages and disadvantages?

  • Ans. 

    Lazy loading is a strategy to identify resources as non-blocking (non-critical) and load these only when needed. It's a way to shorten the length of the critical rendering path, which translates into reduced page load times.Lazy loading can occur on different moments in the application, but it typically happens on some user interactions such as scrolling and navigation.

    Advantages of Lazy loading:
    1. On-demand loading re...

  • Answered by CodingNinjas
Round 3 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Questions based on System Design, ajax, jquery were asked.

  • Q1. System Design Question

    Design a traffic light system.

  • Ans. 

    Tip 1: Firstly, remember that the system design round is extremely open-ended and there’s no such thing as a standard answer. Even for the same question, you’ll have a totally different discussion with different interviewers.
    Tip 2:Before you jump into the solution always clarify all the assumptions you’re making at the beginning of the interview. Ask questions to identify the scope of the system. This will clear the in...

  • Answered by CodingNinjas
  • Q2. Technical Question

    How ajax works?

  • Ans. 

    1. An event occurs in a web page (the page is loaded, a button is clicked). 
    2. An XMLHttpRequest object is created by JavaScript.
    3. The XMLHttpRequest object sends a request to a web server.
    4. The server processes the request. 
    5. The server sends a response back to the web page.
    6. The response is read by JavaScript.
    7. Proper action (like page update) is performed by JavaScript.

  • Answered by CodingNinjas
  • Q3. Technical Question

    Difference between angular js and jquery.

  • Ans. 

    1. jQuery is a Java script-based library. Angular is a Typescript-based, front-end development framework. 
    2. jQuery is used for DOM manipulation. Angular is used for creating single-page applications.
    3. jQuery is suitable for small size projects. Angular is suitable for large, complex projects.
    4. jQuery is simple and easy to learn. Angular is comparatively tougher to comprehend.
    5. jQuery is unidirectional. Angular...

  • Answered by CodingNinjas

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAMakeMyTrip interview preparation:Topics to prepare for the interview - Javascript, Ajax, Angular JS, Jquery, Data Structures, Algorithms, System Design, OOPSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewRejected

Skills evaluated in this interview

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray SumGiven an array of numbers, find the maximum s ... read more
asked in Cognizant
Q2. Nth Fibonacci NumberNth term of Fibonacci series F(n), where F(n) ... read more
asked in Rakuten
Q3. Merge two sorted arraysNinja has been given two sorted integer ar ... read more
asked in GlobalLogic
Q4. Terms Of APAyush is given a number ‘X’. He has been told that he ... read more
asked in Amazon
Q5. Minimum Number of Platform NeededYou are given the arrival and de ... read more

Interview Questionnaire 

8 Questions

  • Q1. Find out the subset of an array of continuous positive numbers from a larger array whose sum of of the elements is larger in comparision to other subset. eg: {1,2 5 -7, 2 5} .The two subarrays are {1,2,5} ...
  • Ans. 

    Find the subset of an array with the largest sum of continuous positive numbers.

    • Iterate through the array and keep track of the current sum and the maximum sum seen so far.

    • If the current element is positive, add it to the current sum. If it is negative, reset the current sum to 0.

    • Also keep track of the start and end indices of the maximum sum subset.

    • Return the subset using the start and end indices.

  • Answered by AI
  • Q2. Given two classes C1 and C2 which are almost same.(remember not exactly same). You want to choose best among these classes so that it can be use as key in hashmap. What question will you ask regarding two ...
  • Q3. You are given two strings s1 and s2.Now, find the smallest substring in s1 containing all characters of s2
  • Ans. 

    Find smallest substring in s1 containing all characters of s2.

    • Create a hash table of characters in s2

    • Use sliding window technique to find smallest substring in s1

    • Check if all characters in s2 are present in the substring

    • Update the smallest substring if a smaller one is found

  • Answered by AI
  • Q4. Questions on OOPS (almost all the concepts were covered like polymorphism, overriding, overloading, inheritance, concept of virtual fxns etc.)
  • Q5. Write algo for reversing a linked list
  • Ans. 

    Algorithm to reverse a linked list

    • Create a new empty linked list

    • Traverse the original linked list and insert each node at the beginning of the new list

    • Return the new list

  • Answered by AI
  • Q6. What is lazy loading? Advantages and disadvantages of the same?
  • Ans. 

    Lazy loading is a technique used to defer the loading of non-critical resources until they are needed.

    • Advantages: faster initial page load, reduced bandwidth usage, improved user experience

    • Disadvantages: increased complexity, potential for slower subsequent page loads, difficulty with SEO

    • Examples: images, videos, and other media files can be loaded only when they are visible on the screen

  • Answered by AI
  • Q7. How ajax works? Difference between angular js and jquery?
  • Ans. 

    Ajax is a technique for creating fast and dynamic web pages. AngularJS is a framework for building dynamic web applications, while jQuery is a library for simplifying HTML DOM traversal and manipulation.

    • Ajax stands for Asynchronous JavaScript and XML

    • It allows web pages to be updated asynchronously by exchanging data with a web server behind the scenes

    • AngularJS is a JavaScript framework that extends HTML with new attrib...

  • Answered by AI
  • Q8. Design a traffic light system?
  • Ans. 

    A traffic light system controls the flow of traffic at intersections.

    • The system consists of three lights: red, yellow, and green.

    • Each light has a specific duration for which it stays on.

    • The system also includes sensors to detect the presence of vehicles and pedestrians.

    • The duration of each light can be adjusted based on traffic patterns.

    • The system can be connected to a central control system for remote monitoring and m

  • Answered by AI

Interview Preparation Tips

Skills: Javascript, Ajax, Angular JS, Jquery
College Name: na

Skills evaluated in this interview

MakeMyTrip Interview FAQs

How many rounds are there in MakeMyTrip Software Developer interview?
MakeMyTrip interview process usually has 1-2 rounds. The most common rounds in the MakeMyTrip interview process are Technical, Coding Test and One-on-one Round.
What are the top questions asked in MakeMyTrip Software Developer interview?

Some of the top questions asked at the MakeMyTrip Software Developer interview -

  1. find out the subset of an array of continuous positive numbers from a larger ar...read more
  2. Given an integer array of size n, find the maximum circular subarray sum. A cir...read more
  3. You are given two strings s1 and s2.Now, find the smallest substring in s1 cont...read more

Tell us how to improve this page.

MakeMyTrip Software Developer Interview Process

based on 6 interviews in last 1 year

1 Interview rounds

  • Technical Round
View more

People are getting interviews through

based on 6 MakeMyTrip interviews
Campus Placement
Referral
Job Portal
33%
33%
17%
17% candidates got the interview through other sources.
Moderate Confidence
?
Moderate Confidence means the data is based on a sufficient number of responses received from the candidates
MakeMyTrip Software Developer Salary
based on 66 salaries
₹7.4 L/yr - ₹25.3 L/yr
99% more than the average Software Developer Salary in India
View more details

MakeMyTrip Software Developer Reviews and Ratings

based on 13 reviews

2.8/5

Rating in categories

2.9

Skill development

2.6

Work-Life balance

2.5

Salary & Benefits

2.9

Job Security

2.5

Company culture

2.3

Promotions/Appraisal

2.9

Work Satisfaction

Explore 13 Reviews and Ratings
Senior Software Engineer
309 salaries
unlock blur

₹13.1 L/yr - ₹32 L/yr

Assistant Manager
274 salaries
unlock blur

₹4.8 L/yr - ₹18 L/yr

Holiday Expert
229 salaries
unlock blur

₹0.6 L/yr - ₹6.9 L/yr

Senior Business Development Manager
224 salaries
unlock blur

₹5 L/yr - ₹12 L/yr

Senior Executive
172 salaries
unlock blur

₹2 L/yr - ₹9.1 L/yr

Explore more salaries
Compare MakeMyTrip with

Cleartrip

3.4
Compare

Yatra

3.4
Compare

Goibibo

4.3
Compare

Oyo Rooms

3.3
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview