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

SDE - 2

Dunzo
upvote
share-icon
4 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: Programming basics, Design patterns,Data structures,OOPS concept, System Design (LLD/HLD)
Tip
Tip

Tip 1 : Be well prepared for ds algo questions of interviewvector ,atleast 50 questions 
Tip 2 : Prepare system design very well.solve problems like Railway booking ,online movie booking problems.

Application process
Where: Other
Eligibility: No
Resume Tip
Resume tip

Tip 1 : Keep it short
Tip 2 : Highlight only important project

Interview rounds

01
Round
Medium
Online Coding Interview
Duration45 minutes
Interview date11 May 2022
Coding problem1

1. 0 1 Knapsack

Moderate
0/80
Asked in companies
Disney + HotstarOptumAmazon

A thief is robbing a store and can carry a maximum weight of ‘W’ into his knapsack. There are 'N' items available in the store and the weight and value of each item is known to the thief. Considering the constraints of the maximum weight that a knapsack can carry, you have to find the maximum profit that a thief can generate by stealing items.

Note: The thief is not allowed to break the items.

For example, N = 4, W = 10 and the weights and values of items are weights = [6, 1, 5, 3] and values = [3, 6, 1, 4]. Then the best way to fill the knapsack is to choose items with weight 6, 1 and 3. The total value of knapsack = 3 + 6 + 4 = 13.

Problem approach

The idea is to use recursion to solve this problem. For each item, there are two possibilities:

Include the current item in the knapsack and recur for remaining items with knapsack’s decreased capacity. If the capacity becomes negative, do not recur or return -INFINITY.
Exclude the current item from the knapsack and recur for the remaining items.

Try solving now
02
Round
Easy
Online Coding Interview
Duration45 minutes
Interview date19 May 2022
Coding problem1

1. Partition to K equal sum subsets

Moderate
40m average time
70% success
0/80
Asked in companies
Goldman SachsMicrosoftDunzo

You are given an array of 'N' integers, and a positive integer 'K'. You need to determine if it is possible to divide the array into 'K' non-empty subsets such that the sum of elements of each subset is equal.

Note:

1. The array can have duplicate elements.

2. Each of the array elements must belong to exactly one of the 'K' subsets.

3. The elements chosen for a subset may not be contiguous in the array.
Problem approach

We can start by calculating the sum of all elements in the set. If the sum is not divisible by k, we can’t divide the array into k subsets with an equal sum. If the sum is divisible by k, check if k subsets with the sum of elements equal to sum/k exists or not. We can find this by considering each item in the given array one by one, and for each item, include it in the i'th subset & recur for the remaining items with the remaining sum. We backtrack if the solution is not found by including a current item in the i'th subset and try for the (i+i)'th subset.

Try solving now
03
Round
Easy
Online Coding Interview
Duration60 mins
Interview date27 May 2022
Coding problem1

1. System Design question

I was asked to design railway booking system.

04
Round
Medium
HR Round
Duration30 mins
Interview date27 May 2022
Coding problem1

1. Basic HR Questions

About myself, why do you want join our company

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 2
4 rounds | 7 problems
Interviewed by Dunzo
3163 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 5 problems
Interviewed by Dunzo
1548 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by Dunzo
0 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 4 problems
Interviewed by Dunzo
1026 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29891 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6765 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5280 views
0 comments
0 upvotes