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

SDE - Intern

Zomato
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures , Algorithms , JAVA, Computer Networking, Data Base
Tip
Tip

Tip 1 : Practice previous interview questions.
Tip 2 : Revise Computer Science subjects like DBMS, OOPS
Tip 3 : Confidence is a key of success

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Mention those things which your confident about
Tip 2 : Add projects and Internships

Interview rounds

01
Round
Easy
Video Call
Duration60 Minutes
Interview date6 Jul 2020
Coding problem2

The overall interview experience was quite smooth and the interviewers were very kind.
I was asked 2 coding questions.

1. Reverse DLL nodes in groups

Moderate
10m average time
90% success
0/80
Asked in companies
AdobeZomatoTata Consultancy Services (TCS)

You are given a Doubly Linked List of integers and a positive integer 'K' representing the group size. Modify the linked list by reversing every group of 'K' nodes in the linked list.

A doubly linked list is a type of linked list that is bidirectional, that is, it can be traversed in both directions, forward and backward. 
Note:
If the number of nodes in the list or in the last group is less than K, just reverse the remaining nodes. 
Example:
Linked list: 8 9 10 11 12
K: 3 

Output: 10 9 8 12 11

We reverse the first K (3) nodes. Now, since the number of nodes remaining in the list (2) is less than K, we just reverse the remaining nodes (11 and 12).  
Try solving now

2. Largest rectangle in a histogram

Hard
25m average time
75% success
0/120
Asked in companies
DelhiveryCultfitGoldman Sachs

You have been given an array/list 'HEIGHTS' of length ‘N. 'HEIGHTS' represents the histogram and each element of 'HEIGHTS' represents the height of the histogram bar. Consider that the width of each histogram is 1.

You are supposed to return the area of the largest rectangle possible in the given histogram.

For example :
In the below histogram where array/list elements are {2, 1, 5, 6, 2, 3}.

alt text

The area of largest rectangle possible in the given histogram is 10.
Try solving now
02
Round
Medium
Video Call
Duration50 Minutes
Interview date6 Jul 2020
Coding problem3

3 coding questions were asked and 1 on system design.

1. Maximize the sum

Moderate
15m average time
85% success
0/80
Asked in companies
Thought WorksAmazonTata Consultancy Services (TCS)

You are given two sorted arrays of distinct integers, ‘ARR1’ and ‘ARR2’. If you find a common element in both arrays, you can switch from one array to another.

Your task is to find a path through the intersections i.e common integers of ‘ARR1’ and ‘ARR2’, that produces maximum sum and return that maximum sum as the answer.

For example:
Let ‘ARR1’ = [1, 5, 10, 15, 20]  and ‘ARR2’ = [2, 4, 5, 9, 15]
In this example, common points are 5, 15.

First, we start with ARR2 and take the sum till 5 (i.e. sum = 11). Then we will switch to ‘ARR1’ at element 10 and take the sum till 15. So sum = 36. Now no element is left in ‘ARR2’ after 15, so we will continue in array 1. Hence sum is 56. And the path is 2 -> 4 -> 5 -> 10 -> 15 -> 20.

array

Try solving now

2. Find Number Of Islands

Moderate
34m average time
60% success
0/80
Asked in companies
AmazonUberApple

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to another cell, if one cell lies immediately next to the other cell, in any of the eight directions (two vertical, two horizontal, and four diagonals).

A group of connected cells having value 1 is called an island. Your task is to find the number of such islands present in the matrix.

Try solving now

3. System Design Question

Design Instagram

03
Round
Medium
HR Round
Duration15 Minutes
Interview date6 Jul 2020
Coding problem1

1. Basic HR Questions

Why did you decide to apply to this role?

Describe the workplace where you’ll be most happy and productive.

Here's your problem of the day

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

Skill covered: Programming

Which operator is used for exponentiation in Python?

Choose another skill to practice
Similar interview experiences
SDE - Intern
2 rounds | 6 problems
Interviewed by Zomato
0 views
0 comments
0 upvotes
SDE - Intern
2 rounds | 3 problems
Interviewed by Zomato
1368 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 5 problems
Interviewed by Zomato
0 views
0 comments
0 upvotes
SDE - Intern
2 rounds | 4 problems
Interviewed by Zomato
1108 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
13856 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
13096 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
9196 views
2 comments
0 upvotes