LeetCode Question · Dec 2024

DoorDash Phone Interview

SWE Phone Screen Hard
1 upvote 486 views 3 replies

Question Details

Got to interview at doordash, I would say the interview didnt explain this very well and there was some accent barrier so I had a hard time understanding what exactly...

Full Details

Got to interview at doordash, I would say the interview didnt explain this very well and there was some accent barrier so I had a hard time understanding what exactly he wanted. I asked him how would the data would be

passed through and couldn\'t really understand him when he explained and seemed like he didnt know the question to well. I was able to come up with a solution.

06: 15 Dx accepts order A
06: 18 Dx accepts order B
06: 30 Dx fulfills order A
06: 40 Dx fulfills order B

the rate Door dasher(Dx) accepts one order is .30$ * time its fullfilled
if Dx accepts more than one order before its fulfilled then the rate is numOfOrders * .30$ * time until order is fulfilled

calculate the total pay

About This Question

This is a reported interview question from a doordash interview for a swe role during the phone screen round reported in 2024.

It covers the following topics: General Experience .

Difficulty rating: Hard