8 questions · from 2 interviews
Delhivery interview questions
Every question candidates reported from their Delhivery interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
Delhivery coding and DSA questions
- 01
Rotate Array
I was asked to solve the 'Rotate array' problem. The discussion revolved around its time and space complexity, including scenarios involving inbuilt functions. The interviewer was reluctant about me using a reverse inbuilt function, suggesting it would…
Easy · From All my Interviews after being Laid Off || Fifth Interview || Delhivery || GGN || SDE 1
- 02
Left View of Binary Tree
Given the root of a binary tree, imagine yourself standing on the left side of it, return the values of the nodes you can see ordered from top to bottom. This can typically be solved using a level-order traversal (BFS) or a recursive approach (DFS).
Medium · From All my Interviews after being Laid Off || Second Interview || Delhivery || GGN || SDE 1
- 03
Next Greater Element
You are given two non-duplicate arrays , nums1 and nums2 , where nums1 is a subset of nums2 . Find the next greater element for each element of nums1 in nums2 . The next greater element for a number x in nums1 is the first greater number to its right in nums2…
Medium · From All my Interviews after being Laid Off || Second Interview || Delhivery || GGN || SDE 1
- 04
Re-arrange Even and Odd Nodes in Linked List
Given the head of a singly linked list, rearrange its nodes such that all nodes at even positions (e.g., the 2nd, 4th, etc., assuming 1-based indexing) appear before all nodes at odd positions (e.g., the 1st, 3rd, etc.), while maintaining the relative order…
Medium · From All my Interviews after being Laid Off || Second Interview || Delhivery || GGN || SDE 1
- 05
Jump Game
You are given an integer array nums . You are initially positioned at nums[0] . Each element nums[i] represents the maximum length of a forward jump from index i . Determine if you can reach the last index ( nums[nums.length - 1] ).
Medium · From All my Interviews after being Laid Off || Second Interview || Delhivery || GGN || SDE 1
Delhivery system design questions
- 01
Detecting Bugs in Production
During one of my interviews, I was asked: 'How would you know that there is some bug in your feature?'
From All my Interviews after being Laid Off || Fifth Interview || Delhivery || GGN || SDE 1
- 02
Detecting API Latency Post-Release
The interviewer reframed a previous question and asked: 'How would you know that a particular API became slow after your release?'
From All my Interviews after being Laid Off || Fifth Interview || Delhivery || GGN || SDE 1
Delhivery other questions
- 01
Mislabelled Bags Puzzle
I was given a puzzle: 'You have 3 bags, A, B, C, containing Salt, Sugar, and a mix of both. All bags are wrongly labelled. Find the minimum number of attempts to assign the right labels.'
From All my Interviews after being Laid Off || Fifth Interview || Delhivery || GGN || SDE 1
Delhivery interview questions FAQ
What questions are asked in Delhivery interviews?
Candidates reported 8 distinct questions across 2 Delhivery interviews. 5 coding and DSA questions, 2 system design questions, 1 other questions.
How difficult are Delhivery interview questions?
Of the questions candidates rated, 20% were easy, 80% medium and 0% hard.