Open In App

Dunzo Interview Experience ( 4+ years Experienced)

Last Updated : 01 Jul, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

Hi Team,

I wanted to share the Dunzo Interview experience with GFG.

Location: Bangalore

HackerRank Test:

  1. https://www.geeksforgeeks.org/sum-minimum-maximum-elements-subarrays-size-k/
  2. kth-ancestor-of-a-tree-node

Machine Coding:

Write the working code to create a working coffee machine. Here are the desired features

1. It will be serving some beverages.

2. Each beverage will be made using some ingredients.

3. Assume time to prepare a beverage is the same for all cases.

4. The quantity of ingredients used for each beverage can vary. Also, the same ingredient (ex: water) can be used for multiple beverages.

5. There would be N ( N is an integer ) outlet from which beverages can be served.

Maximum N beverages can be served in parallel.

6. Any beverage can be served only if all the ingredients are available in terms of quantity.

7. There would be an indicator that would show which all ingredients are running low. We need some methods to refill them.

8. Please provide functional integration test cases for maximum coverage.

DS Algo Round:

  • https://www.codechef.com/ACMAMR15/problems/AMR15B
  • Variation of https://leetcode.com/problems/sum-of-subarray-minimums/

Design Round: Design Flash sale

  • Write database model
  • Handle concurrency and how can you scale more traffic
  • Handle payment
  • Maximize profile by giving payment as priority
  • Ex: Inventory : 100k , RPS : 10M

Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads