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

SDE - 1

Delhivery
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data structures, Algorithms,OOPS, SQL,DBMS, Development
Tip
Tip

Tip 1 : i was consistantly coding for about 2 months easy to hard level questions
Tip 2 : I had worked initially on my development skills i.e Javascript,reactjs,nodejs

Application process
Where: Campus
Eligibility: 7 cgpa above
Resume Tip
Resume tip

Tip 1 : dont write everything on your resume .it will be asked throroughly
Tip 2 : if you are a fresher then have to put some 3-4 projects to showcase your resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date22 Sep 2022
Coding problem1

1. Longest Palindromic Substring

Moderate
35m average time
65% success
0/80
Asked in companies
AmazonGoldman SachsOptum

Given a string ’S’ consisting of lower case English letters, you are supposed to return the longest palindromic substring of ‘S’.

Note that in case of more than one longest palindromic substrings with the same length you need to return the rightmost substring in the given string. For example in string “bbbab”, there are two possible longest palindromic substrings i.e. “bbb” and “bab”, and since you are supposed to return the rightmost substring, so you need to return “bab” as the answer.

Note:
A substring is a contiguous sequence of elements within a string (for example, “bcd” is a substring of “abcde” while “bce” is not).

A string is said to be palindrome if the reverse of the string is the same as the actual string. For example, “abba” is a palindrome, but “abbc” is not a palindrome.
Problem approach

string longestPalindrome(string s) {
int n = s.size();
if(n==0) return "";
vector> dp(n, vector(n, false));
for(int i=0;i=0;i--) {
for(int j=i+1;j if(s[i] == s[j]) {
//j-i==1 means the string is of two characters and since both are equal it will be pallindrome
//dp[i+1][j-1] means the the string between ith and jth character is a pallindrome
//we know that adding same character at the left and right end of pallindrome creates another pallindrome
if(j-i==1 || dp[i+1][j-1]) {
dp[i][j] = true;
//if the length of new pallindrome is greater than previous pallindrome 
//we need to update the value of the string
if(ans.size() < j-i+1) {
ans = s.substr(i, j-i+1);
}
}
}
}
}
return ans;
}

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date28 Sep 2022
Coding problem3

1. DBMS Question

Normalization and its forms

Problem approach

Tip 1 : notmalization and real life examples of its forms

2. SQL Question

Query of inner join

Problem approach

Tip 1 : read all types of joins and its examples.

3. Kth Smallest Element

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftMedia.netInfo Edge India (Naukri.com)

You are given an array of integers 'ARR' of size 'N' and another integer 'K'.


Your task is to find and return 'K'th smallest value present in the array.


Note: All the elements in the array are distinct.


Example
If 'N' is 5 and 'K' is 3 and the array is 7, 2, 6, 1, 9

Sorting the array we get 1, 2, 6, 7, 9

Hence the 3rd smallest number is 6.
Problem approach

Take three variables; let’s call them first, second and third and mark them as +∞.
Iterate through the array and for each element (let’s call it current), 
Check if first>current, assign the first value to the second and second value to third and assign current to first.
If the above step is not true then the current element might be a candidate of the second smallest element, so check if currentIf the above step is not true then the current element might be a candidate of the third-smallest element, so check if currentAt the end print the third, it will third-smallest element in the array

Try solving now
03
Round
Easy
HR Round
Duration15 minutes
Interview date4 Oct 2021
Coding problem1

1. Basic HR Questions

Basic profile and experience. 

Short introductory and hobbies .

Problem approach

Tip 1 : prepare a small introduction 
Tip 2 : Dont hesitate in HR round . Be confident while answering

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 Delhivery
1465 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Delhivery
1326 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Delhivery
1227 views
0 comments
0 upvotes
company logo
SDE - 1
1 rounds | 3 problems
Interviewed by Delhivery
410 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6261 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2159 views
0 comments
0 upvotes