Zomato Coding Interview Questions: 24 Tagged Problems
24 coding problems tagged Zomato — 2 easy · 17 medium · 5 hard — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 24
- By difficulty: 2 easy · 17 medium · 5 hard
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
24 problems the CodeKairo catalogue tags as commonly asked in Zomato's coding rounds — 2 easy, 17 medium and 5 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (17), Hash Table (6) and Strings (5). Tagged for Zomato and no other company: Single Element in a Sorted Array and Move Zeroes. The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Zomato, which CodeKairo is not affiliated with.
Zomato study plan by topic
All 24 problems tagged Zomato over 2 weeks, about 14 h 45 min of solving, grouped by technique in the order they build on each other — Hash Table, Math, Two Pointers and Sliding Window and 13 more.
Week 1: Hash Table, Math, Two Pointers +6
12 problems on Hash Table, Math, Two Pointers, Sliding Window, Prefix Sum, Binary Search, Matrix, Intervals and Greedy, easiest first within each topic.
- Isomorphic Strings Easy
- First Missing Positive Hard
- Number of Ways to Divide a Long Corridor Medium
- Move Zeroes Easy
- Container With Most Water Medium
- Longest Substring Without Repeating Characters Medium
- Length of Longest Subarray With at Most K Frequency Medium
- Number of Good Ways to Split a String Medium
- Single Element in a Sorted Array Medium
- Maximal Square Medium
- Merge Intervals Medium
- Optimal Partition of String Medium
Week 2: Divide and Conquer, Heap, Bit Manipulation +5
12 problems on Divide and Conquer, Heap, Bit Manipulation, Backtracking, Graph, Breadth-First Search, Topological Sort and Union Find, easiest first within each topic.
- Maximum Subarray Medium
- Search a 2D Matrix II Medium
- The Skyline Problem Hard
- Maximum Spending After Buying Items Hard
- Single Number III Medium
- Permutations Medium
- Combination Sum Medium
- Shortest Cycle in a Graph Hard
- Snakes and Ladders Medium
- Minimum Moves to Spread Stones Over Grid Hard
- Course Schedule Medium
- Number of Islands Medium
All problems tagged Zomato
Easy (2)
- Isomorphic Strings String, Hash Table
- Move Zeroes Array, Two Pointers
Medium (17)
- Number of Ways to Divide a Long Corridor Math, String, Dynamic Programming
- Search a 2D Matrix II Array, Matrix, Binary Search
- Length of Longest Subarray With at Most K Frequency Array, Hash Table, Sliding Window
- Optimal Partition of String Hash Table, String, Greedy
- Number of Good Ways to Split a String String, Hash Table, Prefix Sum
- Snakes and Ladders Array, Breadth-First Search, Matrix
- Single Number III Array, Bit Manipulation
- Maximal Square Array, Dynamic Programming, Matrix
- Combination Sum Array, Backtracking
- Permutations Array, Backtracking
- Course Schedule Graph, Topological Sort, Depth-First Search
- Merge Intervals Array, Sorting, Intervals
- Number of Islands Array, Matrix, Depth-First Search
- Single Element in a Sorted Array Array, Binary Search
- Container With Most Water Array, Two Pointers, Greedy
- Longest Substring Without Repeating Characters String, Sliding Window, Hash Table
- Maximum Subarray Array, Dynamic Programming, Divide and Conquer
Hard (5)
- Shortest Cycle in a Graph Graph, Breadth-First Search
- Maximum Spending After Buying Items Array, Greedy, Sorting
- The Skyline Problem Array, Divide and Conquer, Heap (Priority Queue)
- Minimum Moves to Spread Stones Over Grid Array, Matrix, Dynamic Programming
- First Missing Positive Array, Hash Table
Topics Zomato asks most
- Arrays 17 problems
- Hash Table 6 problems
- Strings 5 problems
- Matrix 5 problems
- Breadth-First Search 4 problems
- Dynamic Programming 4 problems
- Greedy 3 problems
- Divide and Conquer 3 problems
- Two Pointers 2 problems
- Sliding Window 2 problems
- Sorting 2 problems
- Binary Search 2 problems