Zomato interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Zomato
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 year
Topics: DSA, OOPS(Object oriented programming), DBMS(database management system), Operating Systems, NETWORKS
Tip
Tip

Tip 1 : Practise coding questions from leetcode and geeks for geeks.
Tip 2 : Try solving problems on a variety of topics and then explore them.
Tip 3 : Also be prepared with core CS topics like OS and DBMS since they can be asked in the interviews.

Application process
Where: Campus
Eligibility: no criteria
Resume Tip
Resume tip

Tip 1 : try doing a few projects on a variety of tech stacks such as go, mysql, python etc.
Tip 2 : Keep the points brief and be thorough with all the cross questions you might get.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 minutes
Interview date9 Nov 2021
Coding problem2

The exam was held online at 8:00 pm in the evening and there were 2 questions in the exam. The platform used was hackerrank.

1. Number of rectangles in a grid

Easy
15m average time
85% success
0/40
Asked in companies
Goldman SachsDirectiMAQ Software

You are given an arbitrary grid with M rows and N columns. You have to print the total number of rectangles which can be formed using the rows and columns of this grid. In simple words, print the number of unique rectangles in the grid.

For example:
Consider the grid shown below. The dark black boundary encloses a grid of dimension 3x4.

alt text

The green colour represents rectangles of dimension 1x1. 
The brown colour represents the rectangles of dimension 1x2.
The blue colour represents the rectangles of dimension 2x2.
The red colour represents the rectangles of dimension 3x3.
The yellow colour represents the rectangles of dimension 3x1.
There can be many different other possibilities as well. You need to print the total number of all such rectangles. 

Note:

Two rectangles are said to be unique if atleast one of their 4 sides is non-overlapping.
Problem approach

The basic approach is to use to the knowledge of PnC to find the number of rectangles that can be constructed,
in a grid of m*n, the number of rectangles that can be formed is (m)(m+1)(n)(n+1)/4

Try solving now

2. Maximum meetings

Easy
10m average time
90% success
0/40
Asked in companies
AmazonMicrosoftMakeMyTrip

You are given the schedule of 'N' meetings with their start time 'Start[i]' and end time 'End[i]'.


You have only 1 meeting room. So, you need to return the maximum number of meetings you can organize.


Note:
The start time of one chosen meeting can’t be equal to the end time of the other chosen meeting.


For example:
'N' = 3, Start = [1, 3, 6], End = [4, 8, 7].

You can organize a maximum of 2 meetings. Meeting number 1 from 1 to 4, Meeting number 3 from 6 to 7.
Problem approach

The basic solution is to attend the events in the order of their end times.
So if a event ends first, we attend it on priority.

Thus we can use a priority queue to store events based on their end times and then pop them to find the max number of events that can be attended. This GREEDY approach solves the problem.

Try solving now
02
Round
Medium
Video Call
Duration40 minutes
Interview date1 Dec 2021
Coding problem3

It was scheduled at 12:00 noon and was a zoom video call interview with a person from zomato who was asking technical problems

1. Basic HR questions

1. First he asked to describe myself.

2. Then he asked a couple of question about my internship experience and projects.

2. Rotting Oranges

Moderate
20m average time
78% success
0/80
Asked in companies
IBMSliceSamsung R&D Institute

You have been given a grid containing some oranges. Each cell of this grid has one of the three integers values:

  • Value 0 - representing an empty cell.
  • Value 1 - representing a fresh orange.
  • Value 2 - representing a rotten orange.
  • Every second, any fresh orange that is adjacent(4-directionally) to a rotten orange becomes rotten.

    Your task is to find out the minimum time after which no cell has a fresh orange. If it's impossible to rot all the fresh oranges then print -1.

    Note:
    1. The grid has 0-based indexing.
    2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
    
    Problem approach

    The basic approach is to use Breadth first search to using a queue data structure to find the minimum days when all the oranges become rotten.

    Try solving now

    3. Technical Question

    Microservice vs Monolithic architecture

    Here's your problem of the day

    Solving this problem will increase your chance to get selected in this company

    Skill covered: Programming

    What is recursion?

    Choose another skill to practice
    Similar interview experiences
    SDE - 1
    2 rounds | 4 problems
    Interviewed by Zomato
    2312 views
    0 comments
    0 upvotes
    SDE - 1
    2 rounds | 0 problems
    Interviewed by Zomato
    6924 views
    1 comments
    0 upvotes
    SDE - 1
    2 rounds | 5 problems
    Interviewed by Zomato
    0 views
    0 comments
    0 upvotes
    SDE - 1
    2 rounds | 3 problems
    Interviewed by Zomato
    1619 views
    0 comments
    0 upvotes
    Companies with similar interview experiences
    company logo
    SDE - 1
    5 rounds | 12 problems
    Interviewed by Amazon
    114579 views
    24 comments
    0 upvotes
    company logo
    SDE - 1
    4 rounds | 5 problems
    Interviewed by Microsoft
    57825 views
    5 comments
    0 upvotes
    company logo
    SDE - 1
    3 rounds | 7 problems
    Interviewed by Amazon
    34961 views
    7 comments
    0 upvotes