Delivery Marketplace ML Applications Questions
Machine learning use cases common to on-demand delivery marketplaces, covering demand forecasting, driver/courier dispatch and routing, pricing and revenue optimization, recommendations, fraud detection, and real-time optimization. Includes model development, deployment, monitoring, drift handling, and scalability considerations for ML systems operating in a high-velocity, two-sided marketplace.
HardTechnical
32 practiced
Propose a reinforcement learning formulation to optimize DoorDash driver dispatch with fairness constraints such as equitable earnings and balanced workload. Define the state representation, action space, reward shaping (including fairness penalties), candidate algorithms (centralized RL, multi-agent RL, constrained policy optimization), simulation environment requirements, and how to ensure safe exploration and offline policy evaluation before deployment.
MediumTechnical
28 practiced
Write a PyTorch forward pass snippet that computes attention over a batch of user order sequences to produce a fixed-length user embedding. Inputs: orders_tensor with shape (batch_size, seq_len, feature_dim) and mask with shape (batch_size, seq_len) where mask==0 indicates padding. Show the attention scores, masked softmax, and final weighted sum. Use standard PyTorch APIs; keep to the forward computation (no class boilerplate required).
HardTechnical
28 practiced
During a major holiday, a predictive model for delivery times and demand drops its accuracy by 40% compared to baseline. As the ML lead, propose an investigation and remediation plan that covers immediate mitigation steps, root-cause analysis (data quality, covariate drift, distributional shifts in user behavior, labeling issues), retraining and validation strategy, rollback criteria, stakeholder communication, and a post-mortem prevention plan.
HardTechnical
29 practiced
Fraud labels on DoorDash are often delayed because investigations take time. Propose methods to train and evaluate a fraud detection model when ground truth labels are delayed or missing. Discuss approaches such as delayed feedback modeling, survival analysis, positive-unlabeled learning (PU), use of proxy labels and weak supervision, and practical choices for thresholding and evaluation under label latency.
EasyTechnical
33 practiced
In the context of DoorDash fraud detection, explain the precision vs recall trade-off for a real-time risk scoring model. Provide guidance on how to choose an operating point given business constraints such as customer friction, investigation capacity, and expected monetary loss from fraud. Describe how you would estimate costs for false positives and false negatives.
Unlock Full Question Bank
Get access to hundreds of Delivery Marketplace ML Applications interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.