Uber | SDE3 Frontend Interview

1145
Aug 13, 2025
Aug 14, 2025

Uber – Senior Frontend Engineer Interview Experience

Round 1 – JavaScript Problem

Uber Driver question: Implement a chainable JS Class (pickup(), drop(), coffeeBreak()) where coffeeBreak() must always execute first.

new UberDriver()
  .pick("Alice", 1)
  .drive(5)
  .coffeeBreak(3)  // always executes first
  .pick("Bob", 2)
  .status()
  .drop()
  .rest(2)

Tested method chaining, promise, and async handling.

Followup Question
Driver can take break anytime but it should execute at beginning only

Round 2 – DSA (Graphs)

Topological Sort (implemented using Kahn’s Algorithm).

Cycle Detection in a Graph (DFS + recursion stack).

Takeaways:

Uber tests JavaScript design patterns + DSA fundamentals.

Strong graph algorithm knowledge is essential.

Even frontend roles have pure algorithm rounds.

Comments (1)