Master DSA
Practice arrays, trees, graphs, and DP problems. Solve 100+ problems on LeetCode/HackerRank focusing on medium and hard problems.
Zomato online assessment (OA) is the first round of Zomato’s placement process. This guide covers the Zomato online assessment format for both SDE and Product Analyst roles, question types, preparation strategy, and tips to clear the OA.
| Component | Details | Time Allocation |
|---|---|---|
| Platform | HackerRank or similar | - |
| Duration | 90-120 minutes | Total time |
| DSA Problems | 2-3 coding problems | 60-80 minutes |
| Debugging | 1-2 debugging questions | 20-30 minutes |
| Languages | Java, C++, Python, Go | - |
| Evaluation | All test cases must pass | - |
| Component | Details | Time Allocation |
|---|---|---|
| Platform | HackerRank or similar | - |
| Duration | 90-120 minutes | Total time |
| SQL Queries | 2-3 SQL problems | 30-40 minutes |
| Data Analysis | Case study questions | 30-40 minutes |
| Coding | Basic Python/SQL | 20-30 minutes |
| Evaluation | Correctness and logic | - |
Zomato online assessment questions for SDE focus on:
Zomato product analyst online assessment questions include:
Problem: Given delivery times for orders, find the minimum time to complete all deliveries with limited delivery agents.
Solution:
public int minDeliveryTime(int[] deliveryTimes, int agents) { Arrays.sort(deliveryTimes); int[] agentSchedule = new int[agents];
for (int time : deliveryTimes) { int minAgent = 0; for (int i = 1; i < agents; i++) { if (agentSchedule[i] < agentSchedule[minAgent]) { minAgent = i; } } agentSchedule[minAgent] += time; }
int maxTime = 0; for (int time : agentSchedule) { maxTime = Math.max(maxTime, time); }
return maxTime;}Time Complexity: O(n log n + n*k) where k is number of agents
Solution:
public int shortestDeliveryPath(int[][] graph, int start, int end) { int n = graph.length; int[] dist = new int[n]; Arrays.fill(dist, Integer.MAX_VALUE); dist[start] = 0;
PriorityQueue<int[]> pq = new PriorityQueue<>((a, b) -> a[1] - b[1]); pq.offer(new int[]{start, 0});
while (!pq.isEmpty()) { int[] curr = pq.poll(); int node = curr[0], distance = curr[1];
if (node == end) return distance; if (distance > dist[node]) continue;
for (int i = 0; i < n; i++) { if (graph[node][i] > 0) { int newDist = distance + graph[node][i]; if (newDist < dist[i]) { dist[i] = newDist; pq.offer(new int[]{i, newDist}); } } } }
return -1; // No path found}Solution:
SELECT r.restaurant_id, r.restaurant_name, COUNT(o.order_id) AS order_countFROM restaurants rJOIN orders o ON r.restaurant_id = o.restaurant_idWHERE o.order_date >= DATE_SUB(CURRENT_DATE, INTERVAL 30 DAY)GROUP BY r.restaurant_id, r.restaurant_nameORDER BY order_count DESCLIMIT 5;Analysis Approach:
Key Metrics:
The Zomato Product Analyst OA (from student reports) is less “LeetCode hard” and more SQL + metrics + product sense. Expect a timed online set that mixes query writing, interpreting tables/charts, and short case prompts about food-delivery funnels.
| PA OA block | What shows up | Pass signal |
|---|---|---|
| SQL | Joins, GROUP BY, window functions, date filters |
Correct logic + readable query |
| Metrics | AOV, retention, conversion, delivery SLA | Define metric before computing |
| Case / product | Promo impact, restaurant ranking, ETA | Structured recommendation |
| Light Python/Excel (some drives) | Aggregate / clean a small table | Clean steps > fancy code |
Count users with ≥2 completed orders in the last 90 days.
SELECT COUNT(*) AS repeat_usersFROM (SELECT user_idFROM ordersWHERE status = 'completed'AND order_date >= CURRENT_DATE - INTERVAL '90' DAYGROUP BY user_idHAVING COUNT(*) >= 2) t;A ₹50 coupon on first orders lifts new users by 20% week-over-week, but average order value falls 8%. How would you decide if the promo should continue?
Approach: Estimate incremental margin = (incremental orders × contribution per order) − coupon cost − ops cost; check retention of coupon users in week 2-4; call out selection bias. PA OA rewards a clear framework over a single “yes/no.”
Organic search CTR for “biryani” dropped 15% in one city. List three hypotheses and one metric to validate each.
Sample hypotheses: ranking bug, competitor ads, supply gap in top restaurants. Metrics: impression share, add-to-cart rate, active restaurant count in that cuisine.
Master DSA
Practice arrays, trees, graphs, and DP problems. Solve 100+ problems on LeetCode/HackerRank focusing on medium and hard problems.
Food delivery domain
Study order matching algorithms, delivery optimization, and system design concepts relevant to food delivery platforms.
Practice OA questions
Solve Zomato OA previous year questions. Practice under time constraints and focus on optimal solutions.
Master SQL
Practice complex SQL queries including joins, aggregations, window functions, and subqueries. Solve 50+ SQL problems.
Data analysis
Practice interpreting data, calculating metrics, and analyzing trends. Study product metrics and A/B testing concepts.
Domain knowledge
Understand food delivery business model, order flow, delivery optimization, and customer behavior patterns.
DSA & coding practice
Recommended Channels:
Take U Forward - Complete DSA course, coding interview prep
Striver’s SDE Sheet - 180+ coding problems with video solutions
Aditya Verma - Dynamic programming masterclass
CodeWithHarry - Programming fundamentals
Search: “Zomato OA questions”, “online assessment preparation”, “coding interview practice”
Mock OA practice
YouTube Search:
“Zomato online assessment experience”
“Zomato OA questions 2025”
“How to clear Zomato coding round”
“Zomato HackerRank test”
Learn from candidates who cleared Zomato OA
Prepinsta
PrepInsta Resources:
Zomato OA mock tests
Previous year OA questions
Practice tests with solutions
Time management tips
Website: prepinsta.com/zomato
HackerRank
HackerRank Practice:
Coding challenges similar to Zomato OA
Practice problems by difficulty
Mock assessments
Time-bound practice
Website: hackerrank.com
LeetCode
LeetCode Practice:
2000+ coding problems
Company-tagged questions
Mock interviews
Weekly contests
Focus: Medium to hard problems for Zomato OA
Geeksforgeeks
GeeksforGeeks Resources:
Zomato OA experiences
Practice problems with solutions
Company-specific preparation
Interview preparation articles
Website: geeksforgeeks.org/zomato
Zomato Placement Papers
Practice with Zomato placement papers containing OA questions from previous years.
Zomato preparation guide
Complete preparation guide for Zomato placement including OA strategy.
Zomato coding questions
Practice Zomato coding questions with detailed solutions covering DSA and system design.