Questions › Technical PM › Uber
Given an array of integers and a number N, find the length of the longest contiguous subarray such that the difference between any two elements in the subarray is less than N.
- Technical PM
- Uber
- Hard
- 15 min
Sign in to view the question description. Premium company questions require an active Premium plan.
How to structure your technical PM answer
Stay at product-and-systems altitude: translate user needs into requirements, explain the data flow, and make the important engineering trade-offs visible.
- Clarify users, scale, latency, reliability, privacy, and the critical product journey.
- Separate functional requirements from non-functional requirements and prioritize both.
- Describe the main components and data flow without disappearing into implementation detail.
- Discuss bottlenecks, failure recovery, observability, cost, security, and what changes as usage grows.
Practise this question under interview conditions. Answer it out loud against a timer with an AI interviewer that asks follow-ups, then review the scored report.
All Technical PM questions · Product manager interview questions by skill area
Reviewed by PMMockr Editorial. Company names are descriptive and do not imply affiliation.
Related Technical PM questions
- Given a sorted array of integers (which may include negatives), return the squares of the numbers in sorted order. As a follow-up, find the k-th smallest squared value.Uber · Technical PM · Easy
- Explain semantic segmentation.Uber · Technical PM · Hard
- Find the minimum characters to insert to make a string a palindrome.Uber · Technical PM · Hard
- Design a car rental system.Uber · Technical PM · Hard
- Design Robinhood.Uber · Technical PM · Medium
- What API and data model would support a new Transit workflow for commutersUber · Technical PM · Easy