i
MakeMyTrip
Filter interviews by
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
Train water trapping problem involves calculating the amount of water that can be trapped between blocks.
Calculate the maximum height of blocks on left and right of each block
Find the minimum of the two heights and subtract the height of the current block to get trapped water
Sum up the trapped water for all blocks to get total trapped water
Top trending discussions
I applied via Approached by Company and was interviewed before Aug 2023. There were 6 interview rounds.
Coding , mainly random DSA question from Leetcode. (Medium difficulty)
System Design , Building a working comment-box of FB/Twitter.
Random questions on JS,CSS and HTML. A bit of coding on string/array .
Discussion on Permorance, Optimisation and Scalability
Bar Raiser, Build React parser to build the JSX using a json of elements and their props.
I applied via Walk-in and was interviewed before May 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Jan 2021. There were 6 interview rounds.
In my previous role as a team leader, I managed projects, coordinated with clients, and ensured timely delivery of services.
Led a team of 10 in executing a project that increased client satisfaction by 20%.
Implemented a new project management tool that improved workflow efficiency by 30%.
Conducted regular training sessions for team members to enhance their skills and productivity.
Collaborated with cross-functional team...
I can sell you a pen by showing you how it can solve your problems and increase your productivity.
I understand that you need a pen to write down important information and ideas.
This pen has a comfortable grip and writes smoothly, making it easy to use for extended periods of time.
It also has a clip that can attach to your notebook or shirt pocket, ensuring that you always have it on hand.
By investing in this pen, you'l...
I appeared for an interview before Jan 2021.
Round duration - 60 minutes
Round difficulty - Easy
Two coding questions were given in the first round to be solved in 60 minutes.
Given an array A
containing 'N' integers and an integer m
, rearrange the elements of the array such that the differences between the array elements and m
are sor...
Rearrange array elements based on their differences from a given integer.
Calculate the differences between each element and the given integer.
Sort the elements based on their differences while maintaining the original order for elements with the same difference.
Implement a function to rearrange the array elements as per the given criteria.
Given an arbitrary binary tree, a node of the tree, and an integer 'K', find all nodes that are at a distance K from the specified node, and return a list of th...
The task is to find all nodes in a binary tree that are at a distance K from a given node.
Traverse the binary tree to find the given node
From the given node, perform a depth-first search to find all nodes at distance K
Use a list to store the values of the nodes at distance K
Return the list of values in any order
Round duration - 60 minutes
Round difficulty - Easy
This was a technical round with questions based on DSA, DBMS, Computer Networking and project based questions.
Ninja is tasked with printing a triangle pattern based on a given number 'N' for any test case.
N = 4
1
232
34545
4567654
The pat...
Print a triangle pattern of numbers based on a given number 'N'.
Iterate through each row and print the numbers accordingly
Use spaces to center-align the numbers in each row
Increment the numbers in each row as per the pattern
Web server serves static content over HTTP, while application server runs dynamic content and business logic.
Web server handles HTTP requests and responses, serving static content like HTML, images, and CSS.
Application server executes business logic, runs dynamic content, and interacts with databases.
Web server examples include Apache, Nginx, while application server examples include Tomcat, JBoss.
Web server focuses on...
The internet is a global network of interconnected computers that communicate using standardized protocols.
The internet is made up of a vast number of interconnected networks of computers.
Data is transmitted over the internet using protocols such as TCP/IP.
Websites are hosted on servers connected to the internet, and users access them using web browsers.
Internet Service Providers (ISPs) provide access to the internet f...
SQL query to find the nth highest salary
Use the 'SELECT DISTINCT' statement to get unique salary values
Order the salaries in descending order using 'ORDER BY' clause
Use 'LIMIT' and 'OFFSET' to get the nth highest salary
Round duration - 30 minutes
Round difficulty - Easy
Typical HR round with behavioral problems.
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.
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.
posted on 30 Nov 2015
I applied via Campus Placement
I applied via Referral
Convert a sorted array to balanced binary search tree
Find the middle element of the array and make it the root of the tree
Recursively construct the left subtree using the left half of the array
Recursively construct the right subtree using the right half of the array
Repeat until all elements are added to the tree
Reverse a singly linked list in groups of k inplace
Divide the linked list into groups of k nodes
Reverse each group of k nodes
Connect the reversed groups to form the final linked list
A recursive routine to calculate a ^ n
The base case is when n is 0, in which case the result is 1
For any other value of n, the result is a multiplied by the result of a^(n-1)
The recursive function should call itself with a^(n-1) as the new input
Design optimal data structure for never-ending stream of numbers for insertion, deletion, searching, kth largest and kth smallest.
Use a balanced binary search tree like AVL or Red-Black tree for efficient insertion, deletion, and searching.
Maintain two heaps, one for kth largest and one for kth smallest.
For finding kth largest, use a min heap of size k and for kth smallest, use a max heap of size k.
Alternatively, use a...
I appeared for an interview in Oct 2016.
based on 1 interview experience
Difficulty level
Duration
Senior Software Engineer
335
salaries
| ₹19 L/yr - ₹33 L/yr |
Assistant Manager
286
salaries
| ₹9 L/yr - ₹16.8 L/yr |
Software Engineer
255
salaries
| ₹12.6 L/yr - ₹23 L/yr |
Holiday Expert
235
salaries
| ₹2 L/yr - ₹6.1 L/yr |
Senior Business Development Manager
221
salaries
| ₹5.4 L/yr - ₹11.7 L/yr |
Cleartrip
Amazon
Flipkart
Indiamart Intermesh