Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Dunzo Team. If you also belong to the team, you can get access from here

Dunzo Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Dunzo SDE-2 Interview Questions and Answers

Updated 15 Sep 2021

6 Interview questions

A SDE-2 was asked
Q. 

Container with Most Water Problem Statement

Given a sequence of 'N' space-separated non-negative integers A[1], A[2], ..., A[i], ..., A[n], where each number in the sequence represents the height of a line...

Ans. 

Find two lines to form a container with maximum water area on a Cartesian plane.

  • Iterate through the array from both ends to find the maximum area.

  • Calculate the area using the formula: (min(height[left], height[right]) * (right - left)).

  • Update the pointers based on the height of the lines to maximize the area.

A SDE-2 was asked
Q. 

Maximum Size Rectangle Binary Sub-Matrix with All 1s

Given a binary-valued matrix of size N x M, your task is to determine the largest area of a submatrix that contains only 1's.

Input:

The first line co...
Ans. 

Find the largest area of a submatrix containing only 1's in a binary matrix.

  • Iterate over each cell in the matrix and calculate the maximum area of submatrix with all 1's ending at that cell.

  • Use dynamic programming to keep track of the maximum area ending at each cell.

  • Update the maximum area as you iterate through the matrix.

  • Return the overall maximum area found in the matrix.

SDE-2 Interview Questions Asked at Other Companies

asked in Walmart
Q1. Maximum Frequency Number Problem Statement Given an array of inte ... read more
Q2. Reverse String Operations Problem Statement You are provided with ... read more
asked in KhataBook
Q3. Alien Dictionary Problem Statement Ninja is mastering an unusual ... read more
asked in Atlassian
Q4. K Most Frequent Words Problem Statement Given an array of N non-e ... read more
asked in DP World
Q5. Count Ways To Reach The N-th Stair Problem Statement You are give ... read more
A SDE-2 was asked
Q. 

Number of Subsequences with Even and Odd Sum

Your task is to determine the number of subsequences with odd sums and the number of subsequences with even sums from a given array of positive integers. As resu...

Ans. 

Count the number of subsequences with odd and even sums in a given array of positive integers modulo 10^9 + 7.

  • Use dynamic programming to keep track of the count of subsequences with odd and even sums.

  • Consider the parity of each element in the array to determine the count of subsequences with odd and even sums.

  • Apply modulo 10^9 + 7 to handle large resulting numbers.

  • Example: For input [1, 2, 3], there are 3 subseque...

A SDE-2 was asked
Q. 

Minimum Cost to Reduce Array Problem Statement

You are given an array ARR containing N positive integers. Your task is to reduce the size of this array to 1 by repetitively merging adjacent elements. Each ...

Ans. 

Find the minimum cost to reduce an array to a single element by merging adjacent elements with their sum.

  • Iteratively merge adjacent elements to minimize total cost

  • Choose pairs to merge strategically to reduce cost

  • Calculate sum of adjacent elements and update array size

A SDE-2 was asked
Q. 

Next Greater Element Problem Statement

You are given an array arr of length N. For each element in the array, find the next greater element (NGE) that appears to the right. If there is no such greater elem...

Ans. 

The task is to find the next greater element for each element in an array to its right, if no greater element exists return -1.

  • Use a stack to keep track of elements for which the next greater element is not found yet.

  • Iterate through the array from right to left, popping elements from the stack until a greater element is found.

  • Store the next greater element for each element in a separate array.

A SDE-2 was asked
Q. 

Anagram Substring Search

Given two strings 'STR' and 'PTR', identify all starting indices of 'PTR' anagram substrings in 'STR'. Two strings are anagrams if one can be rearranged to form the other.

Input:

...
Ans. 

Identify starting indices of anagram substrings of 'PTR' in 'STR'.

  • Use a sliding window approach to check for anagrams of 'PTR' in 'STR'.

  • Create a frequency map of characters in 'PTR' and 'STR' to compare.

  • Slide the window along 'STR' and check if the frequency maps match.

  • Return the starting indices where anagrams are found.

Dunzo SDE-2 Interview Experiences

1 interview found

SDE-2 Interview Questions & Answers

user image Anonymous

posted on 15 Sep 2021

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

  • Q1. 

    Container with Most Water Problem Statement

    Given a sequence of 'N' space-separated non-negative integers A[1], A[2], ..., A[i], ..., A[n], where each number in the sequence represents the height of a lin...

  • Ans. 

    Find two lines to form a container with maximum water area on a Cartesian plane.

    • Iterate through the array from both ends to find the maximum area.

    • Calculate the area using the formula: (min(height[left], height[right]) * (right - left)).

    • Update the pointers based on the height of the lines to maximize the area.

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 45 minutes
Round difficulty - Easy

  • Q1. 

    Anagram Substring Search

    Given two strings 'STR' and 'PTR', identify all starting indices of 'PTR' anagram substrings in 'STR'. Two strings are anagrams if one can be rearranged to form the other.

    Input:

    ...
  • Ans. 

    Identify starting indices of anagram substrings of 'PTR' in 'STR'.

    • Use a sliding window approach to check for anagrams of 'PTR' in 'STR'.

    • Create a frequency map of characters in 'PTR' and 'STR' to compare.

    • Slide the window along 'STR' and check if the frequency maps match.

    • Return the starting indices where anagrams are found.

  • Answered by AI
  • Q2. 

    Maximum Size Rectangle Binary Sub-Matrix with All 1s

    Given a binary-valued matrix of size N x M, your task is to determine the largest area of a submatrix that contains only 1's.

    Input:

    The first line c...
  • Ans. 

    Find the largest area of a submatrix containing only 1's in a binary matrix.

    • Iterate over each cell in the matrix and calculate the maximum area of submatrix with all 1's ending at that cell.

    • Use dynamic programming to keep track of the maximum area ending at each cell.

    • Update the maximum area as you iterate through the matrix.

    • Return the overall maximum area found in the matrix.

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

  • Q1. 

    Number of Subsequences with Even and Odd Sum

    Your task is to determine the number of subsequences with odd sums and the number of subsequences with even sums from a given array of positive integers. As res...

  • Ans. 

    Count the number of subsequences with odd and even sums in a given array of positive integers modulo 10^9 + 7.

    • Use dynamic programming to keep track of the count of subsequences with odd and even sums.

    • Consider the parity of each element in the array to determine the count of subsequences with odd and even sums.

    • Apply modulo 10^9 + 7 to handle large resulting numbers.

    • Example: For input [1, 2, 3], there are 3 subsequences ...

  • Answered by AI
  • Q2. 

    Minimum Cost to Reduce Array Problem Statement

    You are given an array ARR containing N positive integers. Your task is to reduce the size of this array to 1 by repetitively merging adjacent elements. Each...

  • Ans. 

    Find the minimum cost to reduce an array to a single element by merging adjacent elements with their sum.

    • Iteratively merge adjacent elements to minimize total cost

    • Choose pairs to merge strategically to reduce cost

    • Calculate sum of adjacent elements and update array size

  • Answered by AI
Round 4 - Face to Face 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Medium

  • Q1. 

    Next Greater Element Problem Statement

    You are given an array arr of length N. For each element in the array, find the next greater element (NGE) that appears to the right. If there is no such greater ele...

  • Ans. 

    The task is to find the next greater element for each element in an array to its right, if no greater element exists return -1.

    • Use a stack to keep track of elements for which the next greater element is not found yet.

    • Iterate through the array from right to left, popping elements from the stack until a greater element is found.

    • Store the next greater element for each element in a separate array.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 2 in BangaloreEligibility criteriaPrior experience as SDEDunzo interview preparation:Topics to prepare for the interview - Data structures and algorithms, Databases, Design patterns, System design.Time required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

Tip 1 : Do some basic research about the interview process and types of rounds while appearing for a company interview. Narrow down the topics and draft a realistic plan afterwards.
Tip 2 : Try to solve as many problems as possible topic wise.
Tip 3 : Please cover the breadth of topics first to get an early estimate of strong and weak topics.

Application resume tips for other job seekers

Tip 1 : Tailor your resume as per expectations from the role you are applying for.
Tip 2 : Order your experiences and skills by relevance.
Tip 3 : Try to fit the content in a single page.

Final outcome of the interviewSelected

Skills evaluated in this interview

Top trending discussions

View All
Indian Startups
2w
a senior executive
One of the best sources for Startup investment: DAHEJ(DOWRY)
You won't believe my senior has a good corporate job with over 10 years of experience. But suddenly resigned just a few days after his wedding. We all thought maybe he got married and wants to spend his time with his wife, and decided to go to his place to give him a proper farewell. All of us got shocked after knowing that he left because his father-in-law gifted him a fat cash amount and a car in the name of "blessings." He’s using the money to fund his startup and the car for "business movement." I mean seriously? People are now using dowry as startup capital and walking around acting like CEOs, playing boss with someone else’s money. Bas, shaadi karo aur apne sapne chalu karo, courtesy sasural. I don't know feeling inspired? Or disgusted?
Got a question about Dunzo?
Ask anonymously on communities.

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Job Portal and was interviewed in Jun 2024. There were 3 interview rounds.

Round 1 - Coding Test 

I don't remember the ques

Round 2 - Technical 

(1 Question)

  • Q1. System design of notification system
  • Ans. 

    Design a scalable notification system for sending real-time alerts to users.

    • Use a distributed system to handle high volume of notifications.

    • Implement message queues for asynchronous processing.

    • Utilize push notifications for mobile devices.

    • Include a user preference system for customizing notification settings.

    • Consider implementing a notification history feature for users to view past alerts.

  • Answered by AI
Round 3 - Technical 

(1 Question)

  • Q1. System design of google pay
  • Ans. 

    Google Pay is a digital wallet platform and online payment system developed by Google.

    • Google Pay uses secure tokenization to protect user's payment information.

    • It integrates with various payment methods like credit/debit cards, UPI, and NFC.

    • The system handles transactions, user authentication, and merchant integrations.

    • Google Pay leverages Google's infrastructure for scalability and reliability.

    • It provides features lik...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Look for interview exp

Skills evaluated in this interview

SDE-2 Interview Questions Asked at Other Companies

asked in Walmart
Q1. Maximum Frequency Number Problem Statement Given an array of inte ... read more
Q2. Reverse String Operations Problem Statement You are provided with ... read more
asked in KhataBook
Q3. Alien Dictionary Problem Statement Ninja is mastering an unusual ... read more
asked in Atlassian
Q4. K Most Frequent Words Problem Statement Given an array of N non-e ... read more
asked in DP World
Q5. Count Ways To Reach The N-th Stair Problem Statement You are give ... read more

SDE-2 Interview Questions & Answers

Meesho user image Anonymous

posted on 21 May 2022

I appeared for an interview in Jun 2021.

Round 1 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

- It was a face to face (virtually) round.
- Two questions one after one and you are expected to pass all the test cases.
- Question was Easy and Medium Easy. (tags: stack, array, bfs, dfs, array)

- Timing: Afternoon
- Interviewer: he was nice, as I was able to solve both question, he was very happy, and given me the feedback.

  • Q1. 

    Remove Consecutive Duplicates from String

    Given a string STR consisting of both lower and upper case characters, your task is to remove consecutive duplicate characters and return the newly formed string.

    ...
  • Ans. 

    The task is to remove consecutive duplicate characters from a given string and return the new string.

    • Iterate through the characters of the string

    • Compare each character with the next character

    • If they are the same, skip the next character

    • If they are different, append the current character to the new string

  • Answered by AI
  • Q2. 

    Number of Islands Problem Statement

    You are provided with a 2-dimensional matrix having N rows and M columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...

  • Ans. 

    The task is to find the number of islands present in a 2-dimensional array filled with ones and zeroes.

    • Iterate through each cell in the array

    • If the cell is land (1) and not visited, perform a depth-first search to find all connected land cells

    • Increment the count of islands for each connected component found

  • Answered by AI
Round 2 - Coding Test 

Round duration - 135 minutes
Round difficulty - Medium

Machine Coding.

Timing: Afternoon
The interviewer was answering my questions nicely.

Round 3 - HR 

Round duration - 60 minutes
Round difficulty - Medium

Hiring Manager.
Interviewer: Sr Engineering Manager.
Timing: evening.

The environment was cool.

Interview Preparation Tips

Eligibility criteria7+ CGPAMeesho interview preparation:Topics to prepare for the interview - Data Structures: - Arrays, Stack, Sliding Windows, Two Pointers, BFS, DFS, Dynamic Programming(Medium) OOPS & LLD:- Educative (Grokking the Object-Oriented Programming)- Design Patterns: Refactoring guru- Multithreading - Udemy (Java Multithreading, Concurrency & Performance Optimization)HLD:- Educative: grokking-the-system-design-interview- Book: System Design Interview – An Insider's Guide (Alex Xu)Database:- Relational database: articles blogsTime required to prepare for the interview - 4 MonthsInterview preparation tips for other job seekers

Tip 1 : Stick to one coding platform either do it from geeks for geeks, coding ninja or leetcode. Never jump from one platform to other. Focus on Building the concept rather than solving it.
Tip 2 : Follow the Grooking the Object-Oriented Programming, and try to follow SOLID principle as much as you can. If possible take some MOCK interviews.
Tip 3 : Build your concept on Relational databases, you should be able to design the table structures and relationships.
Tip4: You should aware of your project and your contribution to it. Project Objective should be clear. You should know the tech stack used in project, and reason for choosing it.

Application resume tips for other job seekers

Tip 1 : Don't write too many paragraphs in the project description, It should be pointwise.
Tip 2 : Don't highlight too many skills, like HTML CSS kind of things.
Tip 3 : One page.
Tip 4 : If you are not a fresher, no need to mention school achievements.

Final outcome of the interviewSelected

Skills evaluated in this interview

SDE-2 Interview Questions & Answers

Meesho user image Anonymous

posted on 11 Nov 2022

I appeared for an interview in May 2022.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - One-on-one 

(1 Question)

  • Q1. Data Structures and Algorithms
Round 3 - Technical 

(1 Question)

  • Q1. Machine Coding round

Interview Preparation Tips

Interview preparation tips for other job seekers - Strong at Data Structures and Algorithms, and good system design knowledge

I applied via Referral and was interviewed before Apr 2021. There were 2 interview rounds.

Round 1 - Assignment 

How to maintain control spillage

Round 2 - One-on-one 

(1 Question)

  • Q1. Details explantion of f&v stages
  • Ans. 

    F&V stages refer to the different stages of fruits and vegetables from harvesting to consumption.

    • The first stage is harvesting, where the produce is picked from the plant.

    • The second stage is grading, where the produce is sorted based on quality and size.

    • The third stage is packaging, where the produce is packed for transportation and storage.

    • The fourth stage is transportation, where the produce is transported to the mar...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - If you thing your a customer then you will maintain qty

I applied via Referral and was interviewed before Jun 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. How many years of experience you have? Do you have knowledge about ms Excel? What was the role of you in previous company? What was the salai package in previous company?
  • Q2. Most important thing to crack an interview is your work knowledge.if you meet the expectations of employer then you will definitely get job.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident and honest while interview

I applied via Walk-in and was interviewed before Apr 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Maths and statistics

Interview Preparation Tips

Interview preparation tips for other job seekers - Be Humbly positive
Are these interview questions helpful?

I applied via Walk-in and was interviewed in Jan 2022. There was 1 interview round.

Round 1 - Group Discussion 

Maximum sale medicine

Interview Preparation Tips

Interview preparation tips for other job seekers - Maximum sale of medicine.inventory control.abc analysis.

I applied via Recruitment Consultant and was interviewed before Dec 2019. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. 1.what do you know about Swiggy and it's business model. 2.simple SQL queries 3. Vlookup.
  • Ans. 

    Swiggy is an Indian food delivery company that operates through a website and mobile app.

    • Swiggy was founded in 2014 and is headquartered in Bangalore, India.

    • It partners with local restaurants to provide food delivery services to customers.

    • Swiggy's business model is based on charging a commission fee from the restaurants for every order placed through their platform.

    • It has expanded to over 500 cities in India and has ov...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Do not join as MIS in Swiggy. Work of MIS will be just copy paste nothing else. Join only if you have financial problems. Here you can't get any hike nor they will make permanent.

Skills evaluated in this interview

I appeared for an interview in Aug 2021.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - HR 

(2 Questions)

  • Q1. Tell me about yourself.
  • Q2. Regarding job

Interview Preparation Tips

Interview preparation tips for other job seekers - Good company take care of employees time to time salary ,pf,esi facilities

Tell us how to improve this page.

Interview Questions from Similar Companies

Swiggy Interview Questions
3.7
 • 474 Interviews
Meesho Interview Questions
3.7
 • 368 Interviews
Udaan Interview Questions
3.9
 • 347 Interviews
BlackBuck Interview Questions
3.7
 • 194 Interviews
Tata 1mg Interview Questions
3.6
 • 186 Interviews
Digit Insurance Interview Questions
3.8
 • 158 Interviews
Paisabazaar.com Interview Questions
3.4
 • 154 Interviews
Urban Company Interview Questions
3.4
 • 143 Interviews
Collegedunia Interview Questions
3.0
 • 102 Interviews
Ninjacart Interview Questions
3.9
 • 100 Interviews
View all

Dunzo SDE-2 Reviews and Ratings

based on 1 review

3.0/5

Rating in categories

4.0

Skill development

3.0

Work-life balance

3.0

Salary

2.0

Job security

3.0

Company culture

3.0

Promotions

4.0

Work satisfaction

Explore 1 Review and Rating
Store Manager
109 salaries
unlock blur

₹3.8 L/yr - ₹7 L/yr

Community Operations Specialist
99 salaries
unlock blur

₹2.7 L/yr - ₹4.2 L/yr

Procurement Manager
96 salaries
unlock blur

₹3.5 L/yr - ₹7 L/yr

Inward Executive
93 salaries
unlock blur

₹1.8 L/yr - ₹3.5 L/yr

Delivery Boy
89 salaries
unlock blur

₹0.5 L/yr - ₹4.5 L/yr

Explore more salaries
Compare Dunzo with

Swiggy

3.7
Compare

Zepto

3.5
Compare

Porter

3.8
Compare

Rapido

3.7
Compare
write
Share an Interview