DoorDash | Senior Software Engineer | E5 | Onsite Interview | Dec 2021

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-12-30Added By Anonymous
Source: Link
DoorDash interview experience (Offer Received)

DoorDash Telephonic Interview
- Name : V******** Ra*****
- Coding question :
 Engineer is given the opening and closing hours of the store (in the week) with the following format, find the list of all 5 min difference timestamp to query Redis.
Mon- 01, Tue- 02 ... Sun-07 and time (HHMM) format,
i.e 
- store operate on Monday 10 AM to Monday 5 PM : StartTime = 011000, EndTime = 011700 : Output : 011000, 011005, 011010......, 011655, 011700
- store operate on Monday 10 AM to Tuesday 5 PM (24 x 7 open) : StartTime = 011000, EndTime = 021700
- store operate on Tuesday 10 AM to Monday 5 PM (24 x 7 open) : StartTime = 021000, EndTime = 011700
 


DoorDash Virtual onsite Interview: Dasher team
Interview 1: System Design Interview
- Name : Ra***** H*****
- 30 min: Existing architecture understanding
- 30 min:

Interview 2: Coding Interview
- Name : R*** Tr****
- Solution using Trie
In the Directory-based find, add, update and delete the value at the leaf
i.e
ADD API : /demo/test/update/count, currVal : Add the value : currVal at this level, if parent path (/demo/test/update) available otherwise throws an exception
GET API : /demo/test/update/count : returns the value at this level, if available otherwise throws an exception
UPDATE API : /demo/test/update/count, newVal : update the value at this level with newVal, if path available otherwise throws an exception
DELETE API :  /demo/test/update/count : delete the value at last leaf level so, then after remaining path will be  /demo/test/update/


Interview 3 : Coding Interview
- Name : P**** A*****
- Solution using TreeMap
I own a restaurant and hire various chefs for specific expertise and need to find the maximum profit from the orders.
i.e.
input :
chef expertise :  [1,1,2,2,1,3,4,4] : ith chef can make specific num dish
chef profit level: [4,5,1,3,9,2,3,4] : ith chef can make specific profit by cooking that dish
Dish orders: [1,4,1,4,2,3] : I have list of orders and need to maximize the profit.

for the above example, I have 8 chefs, who can make specific dishes and make a specific profit.
for example,
0th chef can make dish 1 with a profit $4
1st chef can make dish 1 with a profit $5
....

I can assign any number of dishes to any chef and want to maximize the profit, how can I assign and what will be the final maximum profit:
for the above example,
Dish Orders :   [1,4,1,4,2,3] : Profit I can make with  best chef expertise for specific dish : [9, 4, 9, 4, 3, 2] = 27


Interview 4 : Behavioral Interview
- Name : S***** K******


DoorDash Offer
Senior Software Engineer - E5
DoorDash Road safety team - Backend Software Engineer
Job Location : Mountain View
TC : 352k (190k + 575k (4 yrs)+ 19k (Base, stocks,Sign-on Bonus))
Comments