i
MakeMyTrip
Filter interviews by
To debug a 500 error, check server logs, review code changes, test API endpoints, and use debugging tools.
Check server logs for error details
Review recent code changes that may have caused the error
Test API endpoints using tools like Postman
Use debugging tools like Chrome DevTools or Firebug
Merge two strings diagonally in a Java array of strings.
Iterate through each row and column to merge characters diagonally
Keep track of the diagonal position to insert characters from both strings
Handle cases where strings have different lengths
Example: String 1: 'hello', String 2: 'world', Merged: 'hweolrllod'
Example: String 1: 'abc', String 2: '123', Merged: 'a1b2c3'
I applied via Recruitment Consulltant and was interviewed before Oct 2022. There were 6 interview rounds.
2 programming question moderate level
I was interviewed before Feb 2021.
Round duration - 60 minutes
Round difficulty - Easy
This was a written test with 2 coding problems.
This problem can be solved using recursion.
Steps :
1. Sort the array in increasing order.
2. Next, remove all the duplicates from array.
3. Now, use recursion and backtracking
(A) If at any time sub-problem sum == 0 then insert that array to the result.
(B) Else if sum < 0 then ignore and return.
(C) Else insert the present index in that array to the current vector and call the function with sum = ...
Observations:
1. If all digits are sorted in descending order, then output is always “Not Possible”.
2. If all digits are sorted in ascending order, then we need to swap last two digits.
3. For other cases, we need to process the number from rightmost side to find the smallest of all greater numbers.
Steps:
1. Traverse the given number from rightmost digit, keep traversing till you find a digit which is sm...
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.
I applied via Naukri.com and was interviewed in Dec 2019. There were 3 interview rounds.
Program to find all possible combinations of elements from two sets of arrays such that the sum of elements is equal to one of the elements in the array itself.
Create two arrays of integers
Loop through both arrays and find all possible combinations
Check if the sum of elements is equal to any element in the array
Return all combinations that meet the criteria
Program to find the next bigger number for the given number by interchanging its digits.
Convert the number to a string to access individual digits
Start from the rightmost digit and find the first digit that is smaller than the digit to its right
Swap this digit with the smallest digit to its right that is greater than it
Sort the digits to the right of the swapped digit in ascending order
Convert the string back to a numb
MakeMyTrip interview questions for designations
Top trending discussions
based on 2 reviews
Rating in categories
Senior Software Engineer
308
salaries
| ₹13.1 L/yr - ₹33 L/yr |
Assistant Manager
284
salaries
| ₹4.8 L/yr - ₹18.8 L/yr |
Senior Business Development Manager
228
salaries
| ₹4.5 L/yr - ₹12 L/yr |
Holiday Expert
228
salaries
| ₹0.6 L/yr - ₹6.7 L/yr |
Senior Executive
172
salaries
| ₹2 L/yr - ₹9.1 L/yr |
Cleartrip
Yatra
Goibibo
Oyo Rooms