Skip to content

Zomato Online Assessment Questions - OA Format, Product Analyst & SDE Questions 2025

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.

ComponentDetailsTime Allocation
PlatformHackerRank or similar-
Duration90-120 minutesTotal time
DSA Problems2-3 coding problems60-80 minutes
Debugging1-2 debugging questions20-30 minutes
LanguagesJava, C++, Python, Go-
EvaluationAll test cases must pass-
ComponentDetailsTime Allocation
PlatformHackerRank or similar-
Duration90-120 minutesTotal time
SQL Queries2-3 SQL problems30-40 minutes
Data AnalysisCase study questions30-40 minutes
CodingBasic Python/SQL20-30 minutes
EvaluationCorrectness and logic-

Zomato online assessment questions for SDE focus on:

  • Arrays & Strings: Manipulation, searching, pattern matching
  • Trees & Graphs: Traversals, algorithms, shortest paths
  • Dynamic Programming: Optimization problems
  • System Design Concepts: Order matching, delivery optimization
  • Identify and fix bugs in code
  • Improve code efficiency
  • Correct logical errors

Zomato product analyst online assessment questions include:

  • Joins: Inner, left, right, full outer joins
  • Aggregations: GROUP BY, HAVING, aggregate functions
  • Window Functions: ROW_NUMBER, RANK, DENSE_RANK
  • Subqueries: Correlated and non-correlated subqueries
  • Data Manipulation: INSERT, UPDATE, DELETE operations
  • Interpreting data and finding insights
  • Product metrics calculation
  • A/B testing analysis
  • Business logic questions
  • Food delivery domain problems
  • Order matching optimization
  • Delivery time analysis
  • Customer behavior analysis
Q: Given an array of delivery times, find the minimum time to deliver all orders (similar to meeting rooms problem).

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

Q: Find the shortest path for delivery (Dijkstra’s algorithm variant).

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
}
Q: Find the top 5 restaurants by order count in the last 30 days.

Solution:

SELECT
r.restaurant_id,
r.restaurant_name,
COUNT(o.order_id) AS order_count
FROM restaurants r
JOIN orders o ON r.restaurant_id = o.restaurant_id
WHERE o.order_date >= DATE_SUB(CURRENT_DATE, INTERVAL 30 DAY)
GROUP BY r.restaurant_id, r.restaurant_name
ORDER BY order_count DESC
LIMIT 5;
Q: Analyze delivery time trends and identify factors affecting delivery time.

Analysis Approach:

  1. Calculate average delivery time by time of day
  2. Analyze delivery time by restaurant location
  3. Identify peak hours with longer delivery times
  4. Correlate delivery time with order value
  5. Find restaurants with consistently long delivery times

Key Metrics:

  • Average delivery time
  • Delivery time by hour
  • Delivery time by location
  • On-time delivery percentage

How to Prepare for Zomato Online Assessment

Section titled “How to Prepare for Zomato Online Assessment”

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.

  1. Understand Role Requirements: Prepare based on SDE vs Product Analyst role
  2. Read Problems Carefully: Understand constraints and requirements
  3. Plan Before Coding: Outline approach and algorithm
  4. Handle Edge Cases: Consider empty data, null values, etc.
  5. Test Your Code: Verify with sample inputs
  6. Manage Time: Allocate time wisely across questions
  1. Optimal Solutions: Focus on time/space complexity
  2. All Test Cases: Ensure all test cases pass
  3. Clean Code: Write readable, well-structured code
  4. Domain Context: Consider food delivery use cases
  1. SQL Best Practices: Write efficient, readable queries
  2. Data Interpretation: Clearly explain insights
  3. Business Logic: Connect analysis to business impact
  4. Metrics Calculation: Accurately calculate product metrics

External Preparation Resources for Online Assessment

Section titled “External Preparation Resources for Online Assessment”

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.


View Papers →

Zomato Preparation Guide

Complete preparation guide for Zomato placement including OA strategy.


View Guide →

Zomato Coding Questions

Practice Zomato coding questions with detailed solutions covering DSA and system design.


Practice Questions →


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