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

SDE - 1

Zepto
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
Started coding 2 years back when I was in 2nd year. I got to know that to get an internship we have to do some coding type stuff. I started with basic coding and started with hackerank and gradually increases the difficulty of the problem. After that I moved to leetcode and firstly I solved problems on the basis of tags first easy then medium then hard.
Application story
So basically it was an on camous opportunity the company has visted our college to hire final year students for the full time role. There were 3 round of interview and 1 online test round. All interviews were taken on google meet
Why selected/rejected for the role?
Not able to give the perfect answers of the dbms questions and also not able to come up with the solution as expected by the interviewer as it was a design question and I don't have any experience in design questions so not able to solve it
Preparation
Duration: 6 months
Topics: DP, Graph, Array, Greedy, Hashmap, Stack and Queue
Tip
Tip

Tip 1 : Having at least 1 project in resume
Tip 2 : Resume should be one page only strictly
Tip 3 : Put some achievements like you got a good rank in a coding contest help you to stand out

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

Tip 1 : Should be 1 page only
Tip 2 : Must have some projects

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date8 Jul 2022
Coding problem2

It was in the evening time.

1. Dijkstra's shortest path

Moderate
25m average time
65% success
0/80
Asked in companies
PayPalAmazonPhonePe

You have been given an undirected graph of ‘V’ vertices (labeled 0,1,..., V-1) and ‘E’ edges. Each edge connecting two nodes (‘X’,’Y’) will have a weight denoting the distance between node ‘X’ and node ‘Y’.

Your task is to find the shortest path distance from the source node, which is the node labeled as 0, to all vertices given in the graph.

Example:

Input:
4 5
0 1 5
0 2 8
1 2 9
1 3 2
2 3 6

alt text

In the given input, the number of vertices is 4, and the number of edges is 5.

In the input, following the number of vertices and edges, three numbers are given. The first number denotes node ‘X’, the second number denotes node ‘Y’ and the third number denotes the distance between node ‘X’ and ‘Y’.

As per the input, there is an edge between node 0 and node 1 and the distance between them is 5.

The vertices 0 and 2 have an edge between them and the distance between them is 8.
The vertices 1 and 2 have an edge between them and the distance between them is 9.
The vertices 1 and 3 have an edge between them and the distance between them is 2.
The vertices 2 and 3 have an edge between them and the distance between them is 6.

Note:

1. There are no self-loops(an edge connecting the vertex to itself) in the given graph.

2. There can be parallel edges i.e. two vertices can be directly connected by more than 1 edge.
Problem approach

The idea of the algorithm is to use the original Dijkstra’s algorithm, but also to keep track on the length of the paths by an array that stores the length of the paths from the source vertex, so if we find a shorter path with the same weight, then we will take it.

Try solving now

2. Longest Path

Moderate
25m average time
65% success
0/80
Asked in companies
PhonePeAmazonZepto

You are given a Directed Acyclic Graph (DAG) with ‘E’ edges and ‘V’ vertices. A DAG is a type of graph with no directed cycles.

You have been given a source vertex ‘S’. Your task is to find the distance between ‘S’ and the farthest vertex reachable from ‘S’?

Example: Given a DAG graph :

Source node: 1
The farthest vertex in the above graph from vertex 1 is 2 via the route of vertex 3. So, the distance is 2.
Problem approach

The idea is simple, we calculate longest path beginning with every cell. Once we have computed longest for all cells, we return maximum of all longest paths. One important observation in this approach is many overlapping sub-problems. Therefore this problem can be optimally solved using Dynamic Programming.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date10 Jul 2022
Coding problem1

It was at 10 am at google meet
Interviewer seems to be an experienced one.
 

1. Letter Combinations of a Phone Number

Moderate
35m average time
65% success
0/80
Asked in companies
AmazonOlaGoldman Sachs

Given a string S containing digits from 2 to 9 inclusive. Your task is to find all possible letter combinations that the number could represent.

A mapping from Digits to Letters (just like in Nokia 1100) is shown below. Note that 1 does not map to any letter.

example

Problem approach

Use recursion then try backtracking

Try solving now
03
Round
Hard
Video Call
Duration60 minutes
Interview date10 Jul 2022
Coding problem1

It was at 1 pm on the same day at google meet
Interviewer seems to be an experienced one.
He introduced himself then asked the same from me.
Started with some os question
Asked a design question which I was not able to solve.

1. System Design

Designing top K trending hashtags.

Problem approach

Tip 1 : Try to ask as much questions as you can
Tip 2 : Learn system design concepts

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
6133 views
1 comments
0 upvotes
company logo
SDE - 1
2 rounds | 2 problems
Interviewed by Zepto
3903 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Zepto
2529 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