Adobe 25 Summer SDE Intern Online Assessment 经验分享

1,147Views

前陣子有同學拿到了 Adobe 2025 夏季 SDE 實習生的 OA,我全程跟著復盤了一下。 整體來說,這份測試的難度不高,題目設計得比較基礎,主要還是看你是否能在有限時間內快速寫出正確代碼。 OA 一共三道題,前兩題語言隨意,最後一題限定要用 Python。

Adobe 25 Summer SDE Intern Online Assessment 经验分享

Adobe OA Questions

Question 1: Find pairs with the minimum absolute difference

Description:
You are given an array of integers. First, sort the array in ascending order. Then, find the minimum absolute difference between any two numbers. Finally,output all pairs of numbers that have this minimum difference.

Example:
Input: [4, 2, 1, 7]
Sorted: [1, 2, 4, 7]
Minimum difference = 1 (between 1 and 2)
Output: [(1, 2)]

Approach:

  1. Sort the array.
  2. Iterate once to compute the minimum absolute difference by checking only adjacent pairs.
  3. Iterate again to collect all pairs with that minimum difference.
  4. Time complexity: O(n log n) due to sorting, space complexity: O(1) extra space.

Question 2: Calculate the area of a triangle

Description:
Given three points representing the vertices of a triangle, calculate the area of the triangle. The triangle is aligned such that one side is parallel toeither the x-axis or the y-axis.

Example:
Input: (0, 0), (4, 0), (0, 3)
Here, the base is parallel to the x-axis with length = 4, and the height = 3.
Output: 6.0

Approach:

  1. Identify which two points form the base (parallel to x-axis or y-axis).
  2. Compute the base length and the height by using coordinate differences.
  3. Apply the formula: Area=12×base×height\text{Area} = \frac{1}{2} \times \text{base} \times \text{height}Area=21​×base×height
  4. Edge cases: ensure the given points actually form a triangle (non-collinear).

Question 3: Center align a string with periods

Description:
You are given a string s and an integer width. You need to center the string inside the given width using . (periods) as padding. If the padding is not even, put the extra period on the left side.

Example:
Input: s = "cat", width = 7
Output: "..cat.."

Approach:

  1. Calculate the number of padding characters: total_padding = width - len(s).
  2. Right padding = ceil(total_padding / 2).
  3. Left padding = total_padding - right padding.
  4. Construct the result: "." * left + s + "." * right.
  5. Since the problem requires Python, this can be done concisely with string multiplication.

学员分享

這位學員考完之後跟我說,其實一開始看到郵件還有點緊張,以為 Adobe 的 OA 會出一些很 tricky 的題,結果上手后發現全是基礎題型。
他說如果是靠自己準備,可能還會因為緊張在第三題字串居中對齊上花掉不少時間,尤其 Python 的邊界處理容易出錯。
不過這次順利過掉之後,他最大的感受就是:如果沒有我們之前一起的梳理和模擬訓練,真考場上可能沒這麼順利,也沒那麼快把題敲出來。

最後他總結了一句:「題目難度不算高,但真正能穩定發揮,還得提前有人幫忙指點,不然很容易因為小細節丟分。 ”

穩住心態的秘密武器

很多同學其實不缺基礎,而是缺少在關鍵節點有人幫忙點撥。Programhelp 提供的面试协助服务,正是解决这个问题:

OA 遠端語音助攻:在你卡殼時即時提醒,幫你穩住節奏。

VO无痕辅助:確保代碼實現流暢,不留痕跡。

考前復盤與模擬訓練:提前熟悉常见题型,避免正式OA出意外。

這次學員能順利拿下 Adobe OA,就是我們配合的結果。 你不用再一個人硬扛,Programhelp 會在關鍵時刻給你支撐。

author avatar
Jory Wang Amazon資深軟體開發工程師
Amazon 資深工程師,專注 基礎設施核心系統研發,在系統可擴充套件性、可靠性及成本最佳化方面具備豐富實戰經驗。 目前聚焦 FAANG SDE 面試輔導,一年內助力 30+ 位候選人成功斬獲 L5 / L6 Offer。
END