LeetCode Experience · Oct 2020

Longest valid orders path (Doordash)

14 upvotes 8,269 views 26 replies

Interview Experience

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 full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays