LeetCode Question · Oct 2020

Longest valid orders path (Doordash)

14 upvotes 8,269 views 26 replies

Question Details

DoorDash virtual onsite question: Asked this: Follow up: Find longest valid subarray Ex 1: orders = [\'P1\', \'P1\', \'D1\'], return [\'P1\', \'D1\'] Ex 2: orders = [\'P1\', \'P1\', \'D1\', \'D1\'], return [\'P1\',...

Full Details

🔒

Unlock all DoorDash questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a doordash interview for a swe role during the onsite round reported in 2020.

It covers the following topics: Arrays .

Topics