Uber Intial Screening Question for Senior Software Engineering Role

uber logo
uber
· Senior Software Engineering Role
January 31, 2026 · 25 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.

Full Experience

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

Interview Questions (2)

1.

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.

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

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

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