0 day streak

Myntra coding interview questions

E-commerce and consumerProduct 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
Maximum Earnings From Taxi1D DP Medium Dynamic Programming Wells Fargo Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +38 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Microsoft, Meta +31 Solve
First Missing PositiveIn-place Transformations Hard Arrays & Hashing Amazon, Microsoft, Netflix +15 Solve
Largest Rectangle in HistogramMonotonic Stack Hard Monotonic Stack Meta, DoorDash, Visa +3 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +38 Solve
Asteroid CollisionStack Basics Medium Stack Amazon, Nvidia, DoorDash +10 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Microsoft, Apple +31 Solve
Rotting OrangesMulti source BFS Medium Graphs Amazon, Microsoft, Databricks +17 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +50 Solve
Single Element in a Sorted ArrayUnique 1-D Binary Search Medium Binary Search Snowflake, IBM, Zomato +2 Solve
Find Pivot IndexPrefix Sum Strategy Easy Arrays & Hashing Tesla, IBM, Infosys +1 Solve
Target SumKnapsack Medium Dynamic Programming Pinterest, Razorpay Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
Find Peak ElementUnique 1-D Binary Search Medium Binary Search Meta, Netflix, Samsung +4 Solve
Longest Increasing Path in a MatrixTopological Sort Hard Graphs Google, Microsoft, Meta +3 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
Largest NumberGreedy Medium Arrays & Hashing Adobe, ServiceNow, Tower Research Capital +4 Solve
Longest Consecutive SequenceHash Set Lookup Medium Arrays & Hashing Google, Bloomberg, Spotify +17 Solve
Capacity To Ship Packages Within D DaysBinary Search on Answer Space Medium Binary Search InMobi Solve
Generate ParenthesesPick / Not-Pick Medium Recursion & Backtracking Google, Microsoft, Bloomberg +13 Solve
Remove Duplicates from Sorted ArrayTwo Pointer Easy Arrays & Hashing Microsoft, Bloomberg, Cisco +8 Solve
Merge k Sorted ListsMerge K Sorted Hard Heaps Google, Amazon, Microsoft +16 Solve
Longest Increasing Subsequence1D DP Medium Dynamic Programming Google, Atlassian, Goldman Sachs +9 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +49 Solve
Next Greater Element IMonotonic Stack Easy Monotonic Stack Oracle, Adobe, Morgan Stanley +8 Solve
Next Greater Element IIMonotonic Stack Medium Monotonic Stack Morgan Stanley, Walmart Global Tech Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Goldman Sachs +16 Solve
Set Matrix ZeroesIn-place Transformations Medium Arrays & Hashing Microsoft, Meta, Samsung +3 Solve
Delete Nodes And Return ForestPostorder + Multiple Return Values Medium Trees & BST Pinterest, Intuit Solve
Burning TreeChild + Ancestor Handling Hard Trees & BST Solve
Delete Node in a BSTBST Basics Medium Trees & BST Microsoft, Zomato Solve
Construct Binary Tree from Preorder and Inorder TraversalTree Serialization / Deserialization Medium Trees & BST Microsoft, Flipkart, Swiggy +2 Solve
Intersection of Two Linked ListsMiscellaneous Easy Linked List Airbnb, Visa, American Express +3 Solve
Binary Tree Right Side ViewViews Medium Trees & BST Meta, Oracle, ServiceNow +1 Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Airbnb, Nvidia, Databricks +13 Solve
Backspace String CompareTwo Pointer Easy Arrays & Hashing Amazon, Wells Fargo, TCS Solve
Rotate ImageIn-place Transformations Medium Arrays & Hashing Amazon, Apple, Nvidia +14 Solve
Minimum Knight MovesBFS for shortest path Medium Graphs Microsoft, Databricks, Groww Solve
Minimum Cost to Connect SticksTop K / Kth Largest / Smallest Medium Heaps Google, JPMorgan Chase, Zepto +3 Solve
Remove Nth Node From End of ListFront Back Pointer Medium Linked List Apple, Morgan Stanley, Qualcomm +4 Solve
Valid ParenthesesStack Basics Easy Stack Google, Microsoft, Meta +39 Solve
Coin ChangeKnapsack Medium Dynamic Programming Google, Microsoft, Apple +18 Solve
Also reported, being added to AlgoRung (6)

Repeated Substring Pattern · Deepest Leaves Sum · Wiggle Sort · Minimum Moves to Equal Array Elements II · Linked List in Binary Tree · Minimum Bit Flips to Convert Number

Questions people ask

What coding questions does Myntra ask most?

Maximum Earnings From Taxi, Trapping Rain Water, 3Sum, First Missing Positive, Largest Rectangle in Histogram, Best Time to Buy and Sell Stock, Asteroid Collision, Container With Most Water.

Which topics come up in Myntra coding rounds?

arrays, trees, dynamic programming, stack, linked list, two pointers.

How hard are Myntra coding questions?

Of the reported questions, 8 are easy, 30 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.