
想進 Uber 做 SDE,不管是 Intern 还是 New Grad,全流程都绕不开OA 在线笔试这一关。今天就結合我們 Programhelp 實戰輔導經驗 + 學員真實回饋,把 Uber OA 的題型、難度、變化趨勢一次性梳理清楚!
Uber OA 是什麼?包含哪些內容?
Uber 的 OA(Online Assessment)通常透過 HackerRank 發出,面向校園招募(SDE Intern / New Grad)候選人。題型會根據職位和批次不同稍有變化,但基本結構是:
| 模組 | 內容 | 備註 |
|---|---|---|
| Coding | 2~3 題演算法(easy ~ hard) | 涉及貪心、DP、圖、滑動視窗等 |
| CS 基礎/選擇題 | 資料結構、時間複雜度分析、SQL 題 | 偶爾考數據庫範疇 |
| 時間 | 90 分鐘~120 分鐘 | 時間卡得緊,建議練手速 |
我們輔導學員的真實體驗:題目難度浮動很大!
「我提前刷了很多地裡的題,結果真考的時候一道都沒中。第一題是字符串處理,第二題直接 LeetCode Hard,最後一題居然是關於快遞調度模擬的建模題。”
這是我們一位 NYU 學員參加 Uber OA 後的回饋。可以看出,Uber 不一定考“原題”,但題型思路大概率能從 LeetCode 熱題中找到影子。
Uber OA 實戰真題複盤
Uber OA 1
題目: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
題目: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
題目:給定一個 2D 矩陣 image(像素值 0–255),且非負整數 radius,為每個像素計算其周圍半徑內所有像素的平均值並替換,以實現模糊效果。
Uber OA 4
題目:貨幣交易演算法:每天可買/賣一單位或維持。給定 rates(每日價格)、strategy(-1 買,0 持有,1 賣)、偶數 k。允許選一段長度 k,將前半段全設 0,後半段全設 1,優化總利潤。
Example
rates = [2,4,1,5,10,6], strategy = [-1,1,0,1,-1,0], k = 4 → 最優利潤 = 18。
Uber OA 答案技巧(Programhelp 總結)
技巧一:合理規劃時間
Hard 題目先跳過,先做 easy/medium。
技巧二:刷題要“抽象”
關注演算法思路而非題目細節。
技巧三:HackerRank 注意事項
提前熟悉其 IDE、調試和逾時判定。
Programhelp 助你拿下 Uber Offer!
我們是專注科技求職考試輔助的團隊,已幫助多位同學通過 Uber、Meta、Stripe 等筆試 + 面試。針對 Uber OA,我們提供:
- 高頻題庫 + 類型拆解訓練
- 模擬考演練 + 答案節奏規劃
- OA 線上即時助攻(語音提示、程式碼思路)
- 履歷表磨 + 內推指導 + 後續 VO 面試輔導
如果你也在準備 Uber OA,不知道怎麼下手,歡迎私訊我們。