0 day streak

MakeMyTrip coding interview questions

ProductE-commerce and consumer India Machine coding / LLD

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
First Missing PositiveIn-place Transformations Hard Arrays & Hashing Amazon, Microsoft, Netflix +15 Solve
Longest Valid ParenthesesStrings Hard Dynamic Programming Amazon, Microsoft, D. E. Shaw +4 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +50 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +31 Solve
Multiply StringsRight to Left Traversal Medium Arrays & Hashing Pinterest Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Airbnb, Nvidia, Databricks +13 Solve
House Robber IIAlternate Selection / Pick / Not pick Medium Dynamic Programming Databricks, Goldman Sachs Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +38 Solve
Generate ParenthesesPick / Not-Pick Medium Recursion & Backtracking Google, Microsoft, Bloomberg +13 Solve
Cheapest Flights Within K StopsDijkstra Medium Graphs Google, Airbnb, Stripe +4 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +22 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +17 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +49 Solve
Combination Sum (repeating elements)Pick / Not-Pick Medium Recursion & Backtracking Airbnb, Pinterest, Zomato +1 Solve
Lowest Common Ancestor of a Binary TreeLCA Medium Trees & BST Google, Microsoft, Meta +19 Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Microsoft, Apple, LinkedIn +18 Solve
Reverse Words in a StringDouble Reversal Trick Medium Arrays & Hashing Microsoft, Nvidia, Barclays +8 Solve
Longest Consecutive SequenceHash Set Lookup Medium Arrays & Hashing Google, Bloomberg, Spotify +17 Solve
Maximum Frequency StackStack Hard Design Data Structures Nutanix, Salesforce, InMobi Solve
Permutations IIPermutations Medium Recursion & Backtracking Ola Solve
Next Greater Element IMonotonic Stack Easy Monotonic Stack Oracle, Adobe, Morgan Stanley +8 Solve
Reverse Nodes in k-GroupFront Middle Back Pointer Hard Linked List Amazon, Microsoft, Meta +5 Solve
Implement Stack using QueuesStack Basics Easy Stack Goldman Sachs, Qualcomm, Deloitte +1 Solve
Course Schedule IITopological Sort Medium Graphs Google, Amazon, Meta +15 Solve
Word Search2D Matrix Backtracking Medium Recursion & Backtracking Google, Microsoft, Meta +13 Solve
Word LadderBFS for shortest path Hard Graphs Google, Amazon, Microsoft +13 Solve
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Nvidia, Morgan Stanley +12 Solve
Binary SearchBasics Easy Binary Search Walmart Global Tech, Wipro, Cognizant +1 Solve
Search a 2D Matrix2D Binary Search + Step Search Medium Binary Search Microsoft, Nutanix, Adobe +3 Solve
Magnetic Force Between Two BallsBinary Search on Answer Space Medium Binary Search Amazon Solve
Also reported, being added to AlgoRung (5)

Length of Longest Subarray With at Most K Frequency · Maximum Sum Circular Subarray · Longest Ideal Subsequence · Reachable Nodes With Restrictions · Sum Of Special Evenly-Spaced Elements In Array

Questions people ask

What coding questions does MakeMyTrip ask most?

Merge Intervals, First Missing Positive, Longest Valid Parentheses, Longest Substring Without Repeating Characters, Group Anagrams, Multiply Strings, House Robber, House Robber II.

Which topics come up in MakeMyTrip coding rounds?

arrays, strings, dynamic programming, graphs, linked list, stack.

How hard are MakeMyTrip coding questions?

Of the reported questions, 4 are easy, 21 medium and 6 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.