DoorDashCoding·60 minMembers
Code Craft: Common Restaurant Pickup Order (LCS Variant)
Members only
Two drivers each have an ordered list of restaurants to pick up from; one car, can only pick up at restaurants both lists contain, must preserve each list's order. Return the longest common pickup lis...
SWE
dp
string
medium
Frequency
Single report
Last asked
2025-12-11
Stage
phone-screen
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
