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

SDE - 1

Dunzo
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Graphs, Trees, Linked Lists, Binary search, sorting algorithms
Tip
Tip

Tip 1 : Graph should be on your tips.
Tip 2 : while explaining the solution to interviewer, dont just hop onto the most optimal solution. Start with the brute force one, give the cons of brute force solution, and then go step by step till you reach the optimal solution.
Tip 3 : Improve on your communication skills as well.

Application process
Where: Naukri
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Mention only what is required for your profile, for e.g. do not stress too much on your co curricular stuff. Rather, try explaining more of your technical stuff that is relevant for your job.
Tip 2 : keep it limited to 1 page. And make sure its a pdf and not an image.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date13 Jan 2022
Coding problem2

1. Maximum Coins

Hard
16m average time
78% success
0/120
Asked in companies
DunzoProtiumGoldman Sachs

You are given a two-dimensional matrix of integers of dimensions N*M, where each cell represents the number of coins in that cell. Alice and Bob have to collect the maximum number of coins. The followings are the conditions to collect coins:

Alice starts from top left corner, i.e., (0, 0) and should reach left bottom corner, i.e., (N-1, 0). Bob starts from top right corner, i.e., (0, M-1) and should reach bottom right corner, i.e., (N-1, M-1).

From a point (i, j), Alice and Bob can move to (i+1, j+1) or (i+1, j-1) or (i+1, j)

They have to collect all the coins that are present at a cell. If Alice has already collected coins of a cell, then Bob gets no coins if goes through that cell again.

For example :
If the matrix is 
0 2 4 1
4 8 3 7
2 3 6 2
9 7 8 3
1 5 9 4

Then answer is 47. As, Alice will collect coins 0+8+3+9+1 = 21 coins. Bob will collect coins 1+7+6+8+4 = 26 coins. Total coins is 21+26 = 47 coins.
Problem approach

Step 1. I first sorted the array.
Step 2. Then I assigned initial coins to bob so that he gets minimum.
Step 3. Inside the loop, i give myself the first element and alice the second element, and increase counter of loop to 2 for every iteration.

Try solving now

2. K Most Frequent Words

Moderate
36m average time
65% success
0/80
Asked in companies
SalesforceDunzoOla

Round 1 :A stream of “visited URLs” are being sent to your program throughout the day. At any given time, list out the Top 10 most visited URLs.

Problem approach

I started thinking about heaps, tried to solve with max heap initially, but with the help of interviewer, could solve it with min heap as well.

Try solving now
02
Round
Hard
Video Call
Duration60 minutes
Interview date18 Jan 2022
Coding problem2

1. Distance Of Nearest Cell Having 1 In A Binary Matrix

Moderate
35m average time
65% success
0/80
Asked in companies
FacebookDunzoCIS - Cyber Infrastructure

You have been given a binary matrix 'MAT' containing only 0’s and 1’s of size N x M. You need to find the distance of the nearest cell having 1 in the matrix for each cell.

The distance is calculated as |i1 – i2| + |j1 – j2|, where i1, j1 are the coordinates of the current cell and i2, j2 are the coordinates of the nearest cell having value 1.
Note :
You can only move in four directions which are : Up, Down, Left and Right.
For example :
If N = 3, M = 4

and mat[ ][ ] = { 0, 0, 0, 1,
                  0, 0, 1, 1,
                  0, 1, 1, 0 }

then the output matrix will be

3  2  1  0
2  1  0  0
1  0  0  1
Problem approach

I first tried to understand the problem by understanding it on notepad.
I tried to solve it using BFS, and was able to solve the problem within time and interviewer was happy with my solution.

Try solving now

2. Word Ladder

Hard
10m average time
90% success
0/120
Asked in companies
OlaSalesforceMakeMyTrip

You are given two strings BEGIN and END and an array of strings DICT. Your task is to find the length of the shortest transformation sequence from BEGIN to END such that in every transformation you can change exactly one alphabet and the word formed after each transformation must exist in DICT.

Note:

1. If there is no possible path to change BEGIN to END then just return -1.
2. All the words have the same length and contain only lowercase english alphabets.
3. The beginning word i.e. BEGIN will always be different from the end word i.e. END (BEGIN != END).
Problem approach

I first gave interviewer a brute force solution, which was partially correct.
Then interviewer game me some hints after which I could solve the problem and interviewer was happy with the solution.

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date20 Mar 2022
Coding problem1

It was value based round. Interviewer was some manager at dunzo, situation based questions can be expected in this round.

1. Basic HR questions

Situation based question, previous experience questions, questions that shows our commitment to work, and how hard working we are.

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 | 5 problems
Interviewed by Dunzo
4463 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Dunzo
762 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Dunzo
702 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Dunzo
790 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
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes