Uber interview question
Design validation and retries for a multi-step LLM extraction pipeline
- Company:
- Uber
- Type:
- System design
- Difficulty:
- Hard
- Reported:
- November 10, 2026
Problem
You run a multi-step LLM extraction pipeline where step N depends on structured JSON output from step N-1. Occasionally the upstream model's output deviates slightly from the expected schema, which causes downstream failures.
Design a validation and retry mechanism that minimizes token waste and processing latency while staying within strict timeouts.
The interviewer framed this as a practical engineering review rather than an algorithm question. Pipeline length, volumes and exact timeout values were not given.
Reported by candidates or drawn from publicly available sources, and rewritten in our own words. Pathwise Prep does not publish confidential assessment content. Report a concern