uber logo
Uber· Senior Software Engineering Role

Uber Intial Screening Question for Senior Software Engineering Role

Posted
31 Jan 2026
406 reads

Summary

This post describes the initial screening questions for a Senior Software Engineering role at Uber, which focused on finding local minima in an array.

How it went

I encountered the following questions during my initial screening for a Senior Software Engineering Role:

  1. Final all the local minima in an array, and return indices
    Local Minia: Left and right elements are equal or less than it is considered as local minima
    Example:
    Input Values: [3,5,1,4,7]
    Result: [3, 1] 
    Since we have to return the index, hence answer is 
    [0, 2]
    
  2. Efficient: Find any local minima
    Input Values: [3,5,1,4,7]
    Answer: 0
    
    Trick is you have to solve the problem using the binary search

Questions asked (2)

  1. 01

    Find All Local Minima in an Array

    Data Structures & Algorithms

    Find all the local minima in an array, and return indices. Local Minima: Left and right elements are equal or less than it is considered as local minima

    Example:
    Input Values: [3,5,1,4,7]
    Result: [3, 1]
    Since we have to return the index, hence answer is
    [0, 2]
    

  2. 02

    Efficiently Find Any Local Minima in an Array

    Data Structures & Algorithms

    Efficient: Find any local minima

    Input Values: [3,5,1,4,7]
    Answer: 0
    
    Trick is you have to solve the problem using the binary search

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!