Master DSA
Practice arrays, trees, graphs, and DP problems. Solve 100+ problems on LeetCode/HackerRank focusing on medium and hard problems.
Complete guide to Zomato online assessment (OA) format, coding questions for SDE and Product Analyst roles, DSA problems, and preparation strategy. Practice Zomato OA questions with solutions.
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:
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:
Search: “Zomato OA questions”, “online assessment preparation”, “coding interview practice”
Mock OA Practice
YouTube Search:
Learn from candidates who cleared Zomato OA
PrepInsta
PrepInsta Resources:
Website: prepinsta.com/zomato
HackerRank
HackerRank Practice:
Website: hackerrank.com
LeetCode
LeetCode Practice:
Focus: Medium to hard problems for Zomato OA
GeeksforGeeks
GeeksforGeeks Resources:
Website: geeksforgeeks.org/zomato
Zomato Placement Papers
Zomato Preparation Guide
Zomato Coding Questions
Practice Zomato coding questions with detailed solutions covering DSA and system design.
Ready to prepare for Zomato online assessment? Master DSA for SDE roles or SQL and data analysis for Product Analyst roles. Practice 100+ problems and take mock assessments to clear the OA.
Pro Tip: For SDE roles, practice solving 2-3 medium/hard DSA problems daily on LeetCode/HackerRank. For Product Analyst roles, practice complex SQL queries and data analysis case studies. Use PrepInsta mock tests and watch YouTube tutorials (Striver, Take U Forward) for OA preparation. Time yourself while practicing to simulate actual OA conditions.
Last updated: January 2025