InterviewLegend

Arrays, Strings & Hashing

Alex Chen22 min readUpdated 166 real interview reports

This is the warm-up band, and at DoorDash it owns the phone screen. Arrays, strings, hashing, and binary search are where a screen starts and where the new-grad HackerRank assessment lives. The problems read as Medium, sometimes Easy, and the bar is whether your code runs against the test cases on the first or second try while the interviewer watches.

Three problems show up again and again in DoorDash phone-screen reports, and they map cleanly onto three skeletons. A Premium question, an expression you evaluate with a stack. Koko Eating Bananas, which DoorDash reframes as a delivery-capacity question and you solve by binary-searching the answer. A Premium question, a textbook sliding window. Learn those three shapes cold and most of this band falls out.

What's inside
  • 3 problems, worked step by step
  • about 22 min

Premium lessonDoorDash interview guide

These took digging.

What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.

100 companies. Checked every month.

Unlock all 100 companies

$49 a year · less than $1 a week · 30-day money-back guarantee

Had your DoorDash interview?Tell us what they asked. Reviewed before it goes in, never with your name.
DoorDash interview guide

Know what DoorDash asks before you walk in.

14 coding · 5 system design · 21 behavioral questions

Get Premium$49 a year · 30-day money-back guarantee
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.