Zomato LeetCode Questions
27 questions all-time · 2 easy · 17 medium · 8 hard
| # | Problem | Difficulty | Frequency | Acceptance |
|---|---|---|---|---|
| 1 | Maximum Spending After Buying Items Array, Greedy, Sorting, Heap (Priority Queue), Matrix | Hard | 100 | 0.6% |
| 2 | Split the Array to Make Coprime Products Array, Hash Table, Math, Number Theory | Hard | 100 | 0.3% |
| 3 | Bitwise OR of All Subsequence Sums Array, Math, Bit Manipulation, Brainteaser, Prefix Sum | Medium | 100 | 0.6% |
| 4 | Shortest Cycle in a Graph Breadth-First Search, Graph Theory | Hard | 100 | 0.4% |
| 5 | Number of Ways to Divide a Long Corridor Math, String, Dynamic Programming | Hard | 100 | 0.5% |
| 6 | Count the Hidden Sequences Array, Prefix Sum | Medium | 91 | 0.6% |
| 7 | First Missing Positive Array, Hash Table | Hard | 77 | 0.4% |
| 8 | Exchange Seats Database | Medium | 77 | 0.7% |
| 9 | Number of Islands Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix | Medium | 69 | 0.6% |
| 10 | Maximum Subarray Array, Divide and Conquer, Dynamic Programming | Medium | 69 | 0.5% |
| 11 | Longest Substring Without Repeating Characters Hash Table, String, Sliding Window | Medium | 69 | 0.4% |
| 12 | 3Sum Array, Two Pointers, Sorting | Medium | 59 | 0.4% |
| 13 | LFU Cache Hash Table, Linked List, Design, Doubly-Linked List | Hard | 59 | 0.5% |
| 14 | Snakes and Ladders Array, Breadth-First Search, Matrix | Medium | 59 | 0.5% |
| 15 | Single Number III Array, Bit Manipulation | Medium | 59 | 0.7% |
| 16 | Maximal Square Array, Dynamic Programming, Matrix | Medium | 59 | 0.5% |
| 17 | Single Element in a Sorted Array Array, Binary Search | Medium | 59 | 0.6% |
| 18 | Isomorphic Strings Hash Table, String | Easy | 59 | 0.5% |
| 19 | Course Schedule Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort | Medium | 59 | 0.5% |
| 20 | Rearrange String k Distance Apart Hash Table, String, Greedy, Sorting, Heap (Priority Queue), Counting | Hard | 59 | 0.4% |
| 21 | The Skyline Problem Array, Divide and Conquer, Binary Indexed Tree, Segment Tree, Sweep Line, Sorting, Heap (Priority Queue), Ordered Set | Hard | 59 | 0.5% |
| 22 | Permutations Array, Backtracking | Medium | 59 | 0.8% |
| 23 | Move Zeroes Array, Two Pointers | Easy | 59 | 0.6% |
| 24 | Combination Sum Array, Backtracking | Medium | 59 | 0.8% |
| 25 | Search a 2D Matrix II Array, Binary Search, Divide and Conquer, Matrix | Medium | 59 | 0.6% |
| 26 | Merge Intervals Array, Sorting | Medium | 59 | 0.5% |
| 27 | Container With Most Water Array, Two Pointers, Greedy | Medium | 59 | 0.6% |
How to read this list
The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.
Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.