Uber OA 面经全复盘|实战真题 + 技巧 + 时间线安排一次说清!(Programhelp 整理)

Uber OA 面经全复盘|实战真题 + 技巧 + 时间线安排一次说清!(Programhelp 整理)

想进 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,不知道怎么下手,欢迎私信我们。

author avatar
ProgramHelp
正文完
 0
评论(没有评论)