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

SDE - 1

Zepto
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, HLD, LLD, OOPS, DBMS
Tip
Tip

Tip 1 : Practice DSA questions regularly to form logic building.
Tip 2 : Deep dive into system design for a better understanding of core concepts. 

Application process
Where: Company Website
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Have good relevant projects on resume.
Tip 2 : Have a 1-page well-formatted resume and highlight keywords.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date15 May 2022
Coding problem2

This round was taken by InterviewVector and was based on DSA questions and some core theoretical questions. It was a 60-minute round.

1. Gas Stations

Moderate
10m average time
90% success
0/80
Asked in companies
AtlassianGoldman SachsAmazon

You have been given a circular path. There are 'N' petrol pumps on this path that are numbered from 0 to N - 1 (Both inclusive). Each petrol pump has two values associated with it:

1)The amount of petrol that is available at this particular petrol pump.
2)The distance to reach the next petrol pump.

You are on a truck having an empty tank of infinite capacity. You can start the tour from any of the petrol pumps. Your task is to calculate the first petrol pump from where the truck will be able to complete the full circle or determine if it is impossible to do so.

You may assume that the truck will stop at every petrol pump and it will add the petrol from that pump to its tank. The truck will move one kilometre for each litre of petrol consumed.

Problem approach

Step 1: I first came up with a brute force technique by checking each index as the starting index. 
Step 2: Interviewer asked me to optimise the solution to linear time complexity.
Step 3: I gave a greedy approach to solve the problem and it passed all the cases.

Try solving now

2. DBMS Questions

Difference between SQL vs NoSQL.
Difference between vertical scaling vs horizontal scaling.
What is indexing?

02
Round
Medium
Video Call
Duration60 minutes
Interview date18 May 2022
Coding problem2

This round was based on DSA questions and discussion on high-level design. The interviewer was friendly and was more focussed on my approach to designing the system.

1. Reverse Alternate K nodes

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

You are given a Singly Linked List of integers and a positive integer 'K'. Modify the linked list by reversing every alternate 'K' nodes of the linked list.

A singly linked list is a type of linked list that is unidirectional, that is, it can be traversed in only one direction from head to the last node (tail).
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: 5 6 7 8 9 10 11 12
K: 3 

Output: 7 6 5 8 9 10 12 11

We reverse the first 'K' (3) nodes and then skip the next '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). 
Note:
You need to reverse the first 'K' nodes and then skip the 'K' nodes and so on. 5 6 7 10 9 8 11 12 is not the correct answer for the given linked list. 
Problem approach

Step 1: I first wrote the code to reverse a linked list.
Step 2: I utilized the code for reversing the linked list for reversing nodes in groups of k. I used a recursive function for implementing it.
Step 3: I dry ran the code on a few test cases and they worked fine, and the interviewer was happy with the approach.

Try solving now

2. Design Question

Discussion on designing top K trending hashtags.

Problem approach

Tip 1 : Watch System design videos for better understanding.

03
Round
Medium
Video Call
Duration30 minutes
Interview date21 May 2022
Coding problem1

This was the hiring manager round of 30 minutes. In which we had a discussion on my projects and some OOPS and DBMS concepts.

1. DBMS Question

What are composite indexes?

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
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Zepto
6132 views
1 comments
0 upvotes
company logo
SDE - 1
2 rounds | 2 problems
Interviewed by Zepto
3902 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Zepto
3609 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Zepto
1576 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