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

SDE - 1

Delhivery
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I took admission in tier 2 college for B.Tech in Computer Science. Firstly I planned that I will start learning DSA from the first year but I could not. So, I began practiced DSA from the fourth semester, and along with DSA, I also learned development because that is what I wanted to be. By the end of Third year, I was confident in both DSA and web development but even then I keep on revising the concepts. Firstly, I was placed in a software company in Gurgaon but I wanted to get into a well known organisation so I keep on doing DSA questions even after getting placed.
Application story
I got mail from the HR at Delhivery that they wanted to hire some candidates for the post of SDE-1, and if I wanted to apply to it, I just had to share my resume with them. As, I wanted to change my company, I mailed him my resume and proceeded in the interview rounds.
Why selected/rejected for the role?
I think my skills and knowledge were up to the mark, that they found me as a valuable candidate. Moreover, my communication skills added up to my numbers.
Preparation
Duration: 2 months
Topics: DS, Algorithms, OOPS, Dynamic Programming, System Design, Java Spring
Tip
Tip

Tip 1 : Practice At least 300 questions
Tip 2 : Build Resume according to Job Description 
Tip 3 : Working with Big Data/Distributed Systems is a Plus

Application process
Where: Other
Eligibility: 1+ year of Experience
Resume Tip
Resume tip

Tip 1 : Skills relevant to Job Description 
Tip 2 : Do not put false things on a resume, in-depth of knowledge of everything there on the resume

Interview rounds

01
Round
Medium
Video Call
Duration90 minutes
Interview date22 Aug 2020
Coding problem3

This was a Data Structures round. Both questions were answered in optimal time complexity with clean code. Every other question was answered to the best of my knowledge

1. Rotting Oranges

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

Given an adjacency list representation of a directed graph with ‘n’ vertices and ‘m’ edges. Your task is to return a list consisting of Breadth-First Traversal (BFS) starting from vertex 0.


In this traversal, one can move from vertex 'u' to vertex 'v' only if there is an edge from 'u' to 'v'. The BFS traversal should include all nodes directly or indirectly connected to vertex 0.


Note:
The traversal should proceed from left to right according to the input adjacency list.


Example:
Adjacency list: { {1,2,3},{4}, {5}, {},{},{}}

The interpretation of this adjacency list is as follows:
Vertex 0 has directed edges towards vertices 1, 2, and 3.
Vertex 1 has a directed edge towards vertex 4.
Vertex 2 has a directed edge towards vertex 5.
Vertices 3, 4, and 5 have no outgoing edges.

We can also see this in the diagram below.

BFS traversal: 0 1 2 3 4 5

example

Try solving now

2. Find Smallest Integer

Moderate
10m average time
90% success
0/80
Asked in companies
SamsungPaytm (One97 Communications Limited)Uber

You are given an array 'ARR' consisting of 'N' positive numbers and sorted in non-decreasing order, and your task is to find the smallest positive integer value that cannot be represented as a sum of elements of any proper subset of the given array.

An array 'B' is a subset of another array 'A' if each element of 'B' is present in 'A'.

For example:
For the given input array [1, 1, 3],
1 can be represented as the sum of elements of the subset [1],
2 can be represented as the sum of elements of a subset [1, 1],
3 can be represented as the sum of elements of a subset [3],
4 can be represented as the sum of elements of a subset [1, 3],
5 can be represented as the sum of elements of a subset [1, 1, 3]
So, the smallest positive integer value that cannot be represented as a sum of elements of any subset of a given array is 6.
Try solving now

3. BFS in Graph

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

Given an adjacency list representation of a directed graph with ‘n’ vertices and ‘m’ edges. Your task is to return a list consisting of Breadth-First Traversal (BFS) starting from vertex 0.


In this traversal, one can move from vertex 'u' to vertex 'v' only if there is an edge from 'u' to 'v'. The BFS traversal should include all nodes directly or indirectly connected to vertex 0.


Note:
The traversal should proceed from left to right according to the input adjacency list.


Example:
Adjacency list: { {1,2,3},{4}, {5}, {},{},{}}

The interpretation of this adjacency list is as follows:
Vertex 0 has directed edges towards vertices 1, 2, and 3.
Vertex 1 has a directed edge towards vertex 4.
Vertex 2 has a directed edge towards vertex 5.
Vertices 3, 4, and 5 have no outgoing edges.

We can also see this in the diagram below.

BFS traversal: 0 1 2 3 4 5

example

Try solving now
02
Round
Easy
Video Call
Duration100 minutes
Interview date24 Aug 2020
Coding problem3

Mostly technical and System Design questions were asked.

1. Difference between list and set.

Problem approach

One should know the difference in STLs.

2. System Design

Design an LRU cache

Problem approach

Should be familiar with OS concepts

3. Difference between Hashtable and HashMap

Problem approach

One should know the difference in STLs.

03
Round
Easy
Video Call
Duration90 minutes
Interview date26 Aug 2020
Coding problem0

This round was overall about myself and some open-ended questions were asked

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
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Delhivery
769 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Delhivery
702 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Delhivery
742 views
0 comments
0 upvotes
company logo
SDE - 1
1 rounds | 3 problems
Interviewed by Delhivery
10 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
5947 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
5199 views
3 comments
0 upvotes