
want to get into Uber (Internet company) As an SDE, no matter you are an Intern or a New Grad, you can't get around the OA online written test in the whole process. Today, we will combine our Programhelp practical coaching experience + students' real feedback to sort out Uber OA question types, difficulties and changing trends at once!
What is Uber OA? What's included?
Uber's OA (Online Assessment) is usually issued through HackerRank for campus recruit (SDE Intern / New Grad) candidates. The type of questions will vary slightly depending on the position and batch, but the basic structure is:
module (in software) | element | note |
---|---|---|
Coding | 2 to 3 algorithmic questions (easy ~ hard) | Involves greed, DP, graphs, sliding windows, etc. |
CS Basic/Multiple Choice | Data structures, time complexity analysis, SQL problems | Occasional examination of database categories |
timing | 90 to 120 minutes | Time is running out. We recommend practicing your hand speed. |
Real-life experience of our tutored students: the difficulty of the questions fluctuates a lot!
"I brushed up on a lot of questions from the ground ahead of time, and I didn't hit a single one on the real exam. The first question was string processing, the second was straight LeetCode Hard, and the last question was actually a modeling question about express scheduling simulation."
This is the feedback from one of our NYU students after taking the Uber OA. As you can see, Uber doesn't necessarily test the "original" questions, but the question types can probably be found in the LeetCode hot topics.
Uber OA Practice Questions Review
Uber OA 1
Title:You are given three arrays of integers a
, b
, and c
, and an array of characters signs
consisting of '+'
and '-'
. All arrays have the same length. Return a boolean array output
where output[i] = true
if a[i] signs[i] b[i] == c[i]
, otherwise false.
Example
For a = [3, 2, -1, 4]
, signs = ['+', '-', '-', '+']
, b = [2, 7, -5, 2]
, and c = [5, 5, 4, 2]
, the output is [true, false, true, false]
.
a |
signs |
b |
c |
Result |
---|---|---|---|---|
3 | + |
2 | 5 | true |
2 | - |
7 | 5 | false |
-1 | - |
-5 | 4 | true |
4 | + |
2 | 2 | false |
Input/Output
[execution time limit] 4 seconds (py3)
[memory limit] 1 GB
[Input] array.integer a The first array of integers.
[Input] array.char signs An array of '+'
and '-'
, same length as a
.
Uber OA 2
Title:Theme park shuttle: given shuttle_times
(array of "HH:MM") and current_time
("HH:MM"), return wait time until next shuttle, or "-1" if none left today.
Example
- shuttle_times = ["12:30″, "14:00″, "19:55"], current_time = "14:30 " → "05:25"
- current_time = "20:00" → "-1"
- current_time = "14:00" → "00:00"
Input/Output
[execution time limit] 4 seconds (py3)
[memory limit] 1 GB
[Input] array.string shuttle_times 3 ≤ size ≤ 100
[Input] string current_time in "HH:MM" format.
Uber OA 3
Title:Given a 2D matrix image
(pixel values 0-255), and non-negative integers radius
, for each pixel the average of all pixels in its surrounding radius is calculated and replaced to achieve the blurring effect.
Uber OA 4
Title:Currency trading algorithm: you can buy/sell one unit per day or keep it. Given rates
(daily price),strategy
(-1 Buy, 0 Hold, 1 Sell), Even k
. Allow the selection of a segment of length k and optimize the total profit by setting the first half of the segment to all 0s and the second half to all 1s.
Example
rates = [2,4,1,5,10,6], strategy = [-1,1,0,1,-1,0], k = 4 → optimal profit = 18.
Uber OA Answer Tips (Programhelp Summary)
Tip 1: Plan your time wisely
Skip the Hard questions and do easy/medium first.
Tip #2: Brush up on "abstract" questions.
Focus on algorithmic ideas rather than topic details.
Tip #3: HackerRank Note to self
Familiarize yourself with its IDE, debugging, and timeout determination in advance.
Programhelp Help you take the Uber Offer!
We are a team that specializes in technical job test assistance and have helped many students pass written exams + interviews for Uber, Meta, Stripe, and more. For Uber OA, we provide:
- High-frequency question bank + type breaking training
- Practice Mock Exams + Pacing
- OA Online real-time assists (voice prompts, code ideas)
- Resume polishing + Inbound coaching + Follow-up VO interview coaching
If you're also preparing for Uber OA and don't know how to get started, feel free to private message us.