DoorDash Phone Screen US Backend E4 [Reject]

Giving back to the community:

Had a quick ~5 min intro during which I was also asked a time I had to think about scalability in past roles.

Got asked: https://leetcode.com/problems/search-suggestions-system/ – Except it was reworded as restaurants and you were given a list of search words. So rather than return all K search results per character in a search word, you had to just return all K search results for the entire search word prefix, for each of the search words. Also consider spaces, not just lowercase chars.

I passed all test cases, I did have to debug some out of bounds issues since I didn't account for spaces initially. But I debugged it fine. Interview told me my code "looked good".

Day after received a standard rejection similar to another recent poster. Can't exactly point to a specific reason. Feeling confused...

Comments (2)