0 day streak

Zomato 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
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Microsoft, Apple, LinkedIn +29 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +50 Solve
First Missing PositiveIn-place Transformations Hard Arrays & Hashing Amazon, Microsoft, Netflix +15 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +41 Solve
Single Element in a Sorted ArrayUnique 1-D Binary Search Medium Binary Search Snowflake, IBM, Myntra +2 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +49 Solve
Snakes and LaddersBFS for shortest path Medium Graphs Tesla, Salesforce Solve
Maximal SquareSquares Medium Dynamic Programming Google, Airbnb, PayPal +2 Solve
Isomorphic StringsHashing Easy Arrays & Hashing LinkedIn, American Express Solve
Course ScheduleTopological Sort Medium Graphs Google, Amazon, Microsoft +14 Solve
PermutationsPermutations Medium Recursion & Backtracking Google, Apple, LinkedIn +5 Solve
Move ZeroesTwo Pointer Easy Arrays & Hashing Meta, Nvidia, Bloomberg +11 Solve
Combination Sum (repeating elements)Pick / Not-Pick Medium Recursion & Backtracking Airbnb, Pinterest, CRED +1 Solve
Search a 2D Matrix II (Young Tableau)2D Binary Search + Step Search Medium Binary Search Microsoft, Oracle, Freshworks +1 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
Russian Doll Envelopes1D DP Hard Dynamic Programming Atlassian, Arcesium, Media.net Solve
Find the Safest Path in a GridMulti source BFS Medium Graphs Uber, Intuit Solve
3SumTwo Sum Medium Arrays & Hashing Google, Microsoft, Meta +31 Solve
LFU CacheLinked Lists Hard Design Data Structures Amazon, Apple, Netflix +10 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Microsoft, Apple +31 Solve
Reverse Nodes in k-GroupFront Middle Back Pointer Hard Linked List Amazon, Microsoft, Meta +5 Solve
Missing NumberMissing / Repeated Numbers Easy Bit Manipulation Microsoft, Nvidia, Palantir +6 Solve
Minimum Size Subarray SumSliding Window · Variable Medium Arrays & Hashing Intel, Citi, HCLTech Solve
Delete Node in a BSTBST Basics Medium Trees & BST Microsoft, Myntra Solve
Largest Rectangle in HistogramMonotonic Stack Hard Monotonic Stack Meta, DoorDash, Visa +3 Solve
Unique Paths II2D DP Medium Dynamic Programming Nvidia, Intuit, Flipkart +2 Solve
Split Array With Same AverageKnapsack Hard Dynamic Programming Deutsche Bank, Meesho Solve
Walls and GatesMulti source BFS Medium Graphs Spotify, DoorDash Solve
Palindrome Linked ListFront Middle Back Pointer Easy Linked List Meta, Spotify, Morgan Stanley +1 Solve
Remove All Adjacent Duplicates In StringStack Basics Easy Stack Deloitte, Paytm, Freshworks Solve
Longest Common SubsequenceStrings Medium Dynamic Programming Google, Amazon, Apple +5 Solve
Majority Element IIMoore's Voting Algorithm Medium Arrays & Hashing Intel Solve
Evaluate DivisionConnected Components Medium Graphs Amazon, Uber, Stripe +3 Solve
Sort Transformed ArrayTwo Pointer Medium Arrays & Hashing LinkedIn Solve
Shuffle an ArrayRandomized Algorithms Medium Design Data Structures Uber, JPMorgan Chase, Citi Solve
Also reported, being added to AlgoRung (13)

Maximum Spending After Buying Items · Split the Array to Make Coprime Products · Bitwise OR of All Subsequence Sums · Shortest Cycle in a Graph · Number of Ways to Divide a Long Corridor · Count the Hidden Sequences · The Skyline Problem · Minimize Malware Spread · Single Number III · Rearrange String k Distance Apart · Maximum Xor Product · Get the Maximum Score · Cinema Seat Allocation

Questions people ask

What coding questions does Zomato ask most?

Kadane's Algorithm - Simple, Longest Substring Without Repeating Characters, First Missing Positive, Number of Islands, Single Element in a Sorted Array, LRU Cache, Snakes and Ladders, Maximal Square.

Which topics come up in Zomato coding rounds?

graphs, dynamic programming, arrays, sliding window, linked list, binary search.

How hard are Zomato coding questions?

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