uber logo
Uber· SDE 2

UBER SDE 2 India

Location
India
Posted
16 May 2026
110 reads

Summary

I was asked the Minimum Number of Refueling Stops problem in the first round for an SDE 2 position at Uber in India, solved it using DP but could not optimize it, and was rejected.

How it went

Was asked in first round https://leetcode.com/problems/minimum-number-of-refueling-stops/description/ Solved using DP but could not optimize it. REJECTED

Questions asked (1)

  1. 01

    Minimum Number of Refueling Stops

    Data Structures & Algorithms · Medium

    Given a target distance, a starting amount of fuel, and an array of fuel stations where each station is represented as (position, fuel), determine the minimum number of refueling stops required to reach the target. If it is impossible to reach the target, return -1.

    Open the problem

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Uber recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!