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

Software Developer

Delhivery
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 0.5 Months
Topics: Data Structures, OOPS, System Design, SQL, Backend fundamentals
Tip
Tip

Tip 1 : Focus on DS and Algorithms
Tip 2 : Focus on System Design
Tip 3 : Should be able to explain your previous company projects and current project in detail (technically)

Application process
Where: Referral
Eligibility: 1 year experience
Resume Tip
Resume tip

Tip 1 : keep your resume short
Tip 2 : Mention about your projects and experience nicely

Interview rounds

01
Round
Medium
Face to Face
Duration50 minutes
Interview date5 Jul 2019
Coding problem3

DS Algo and SQL questions

1. Reverse List In K Groups

Hard
15m average time
85% success
0/120
Asked in companies
Paytm (One97 Communications Limited)SAP LabsSamsung

You are given a linked list of 'n' nodes and an integer 'k', where 'k' is less than or equal to 'n'.


Your task is to reverse the order of each group of 'k' consecutive nodes, if 'n' is not divisible by 'k', then the last group of nodes should remain unchanged.


For example, if the linked list is 1->2->3->4->5, and 'k' is 3, we have to reverse the first three elements, and leave the last two elements unchanged. Thus, the final linked list being 3->2->1->4->5.


Implement a function that performs this reversal, and returns the head of the modified linked list.


Example:
Input: 'list' = [1, 2, 3, 4], 'k' = 2

Output: 2 1 4 3

Explanation:
We have to reverse the given list 'k' at a time, which is 2 in this case. So we reverse the first 2 elements then the next 2 elements, giving us 2->1->4->3.


Note:
All the node values will be distinct.


Problem approach

First I made a reverse linkedList function

Then I made a recursive function which will split the linkedList into desired buckets and call the reverse functions on it.

Then you have play a little bit with pointers and adjust them to get desired output

Try solving now

2. SQL Question

Find the second largest quantity item from a table where item and quantity are present

Problem approach

Tip 1 : select * from table order by quantity desc offset 1 limit 1

3. Technical Question

Describe the project I put on in my resume

Problem approach

Tip 1 : you should be explain the project in detail
Tip 2 : you should be able to answer the question like why you used a particular DB or tech stack.
Tip 3 : You should have confidence and clarity in what you have done and why you have done

02
Round
Medium
Face to Face
Duration40 minutes
Interview date5 Jul 2019
Coding problem1

System Design Round

1. System Design Question

Design HLD and LLD for a authentication system which should be highly available and should be able to handle around 2 lakh requests. a minute.

Problem approach

Tip 1 : Should be good with fundamentals like LLD and HLD
Tip 2 : Ask questions like the scale of system, requirements, etc
Tip 3 : You should have a logical approach

03
Round
Medium
Face to Face
Duration40 minutes
Interview date5 Jul 2019
Coding problem3

It was a technical managerial round.

I was asked about my projects and some python django and react related questions (as I mentioned these in my resume)

1. System Design Question

Explain the architecture of the Questionnaire Manager (My previous company's project)

Problem approach

Tip 1 : You should know why you used the given tech stack and database
Tip 2 : You should be able to answer questions like why not to use other tech stack
Tip 3 : You should be able to explain your project nicely

2. Django Questions

Django ORM specific question

Explain select related and prefetch related queries in diango

Problem approach

Tip 1 : Just be good with the tech stack you mentioned in your resume
Tip 2 : it is a tech stack specific question so will differ based on resume.

3. System Design Question

Explain Tear down in Unit tests with an example

Problem approach

Tip 1 : it is a question related to fundamentals of unit tests
Tip 2 : it will differ based on your resume.

Here's your problem of the day

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

Skill covered: Programming

What does the SQL function NOW() return?

Choose another skill to practice
Similar interview experiences
company logo
Software Developer
3 rounds | 3 problems
Interviewed by Delhivery
839 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 6 problems
Interviewed by Delhivery
1224 views
0 comments
0 upvotes
company logo
Software Developer
2 rounds | 2 problems
Interviewed by Delhivery
1000 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 5 problems
Interviewed by Delhivery
820 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Developer
3 rounds | 8 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
Software Developer
2 rounds | 3 problems
Interviewed by Tata Consultancy Services (TCS)
2498 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 3 problems
Interviewed by HCL Technologies
2124 views
1 comments
0 upvotes