Uber Front End Interview Questions
Full guide on GreatFrontEnd
Explore round details, preparation advice, and related practice in GreatFrontEnd's Uber Front End Interview Guide.
Uber candidates have encountered JavaScript async utilities, React implementation, and general algorithms. Practice controlling work over time and explaining failure behavior, then confirm whether your own coding round also includes UI or DSA.
JavaScript coding questions
- Implement a rate limiter attribute/decoration/annotation on top of an API endpoint. Caps to N requests per minute with a rolling window. Source A and Source B
- Implement an async process queue with concurrency control. Follow-up: handle async-task failures by accepting an error callback handler.
- Related practice: Map Async Limit limits concurrency and rejects on a mapping failure. An error callback or retries would extend the base exercise. (Free)
- Build a utility in JS that sends data in batches with a timeout: as soon as the batch size is reached, send immediately and restart the timer; if the timer fires before the batch is filled, send what's there and restart.
- Extend an async batcher with retry behavior and operations such as
push,flush, andclear.
User interface coding questions
- Create a button that when clicked, adds a progress bar onto the page. The progress bar would then fill up in a given amount of time (think 3 to 5 seconds). If you get past the first part, you will be asked to do throttling how many progress bars can be running at once. For example, if the limit is 3 progress bars, and the user clicks on the button 4 times, the fourth progress bar only starts after the very first one finishes. Source
- The base Progress Bars exercise starts each bar immediately. A cap on simultaneous bars is an extension. (Free)
- Overlapping circles app. Source
- Build a React component; one applicant encountered this after preparing mainly for algorithms and JavaScript utilities.