高盛 CoderPad Interview | 高盛 Goldman Sachs oa | Goldman 筆試代寫包過

1,542Views
尚無留言

Goldman Sachs 的面試一向以“難”著稱,不僅 Behavioral 部分會深挖細節,Technical 也考察得相當嚴格,幾乎不給任何僥倖空間。 所以想要拿下高盛的面試,前期準備必須做到充分、全面。

他們的技術面試通常是在 CoderPad 上完成 coding 題,真實還原工作場景。 這周我剛剛 support 了一位同學完成 高盛 OA + VO,整理一下最新的考點和流程,給大家一個直觀參考。

高盛 CoderPad Interview | 高盛 Goldman Sachs oa | Goldman 筆試代寫包過

OA 2 Coding + 9 個數學選擇題

CoderPad 1:Area of box, given 2d array queries with [[row, col]], how many boxes can be formed for each query? A box is a a × a box for 1 ≤ a ≤ min(row, col)

  • 這道題的解題思路不難,主要是找規律,畫出來就完事了,公式是 (row - a + 1) * (col - a + 1),code 就幾行很簡單,找到所有可能的正方形相加即可。
def count_squares_for_queries(queries):
    results = []

    for row, col in queries:
        total_squares = 0
        max_size = min(row, col)

        for a in range(1, max_size + 1):
            total_squares += (row - a + 1) * (col - a + 1)

        results.append(total_squares)

    return results

CoderPad 2:Longest subarray, give the maximum length of subarray with sum ≤ k

  • 使用滑動窗口,不斷移動左右指標,用一個變數記錄最大的子陣列長度即可。
def longest_subarray_with_sum_at_most_k(nums, k):
    left = 0
    current_sum = 0
    max_length = 0

    for right in range(len(nums)):
        current_sum += nums[right]

        while current_sum > k:
            current_sum -= nums[left]
            left += 1

        max_length = max(max_length, right - left + 1)

    return max_length

接下來是數學選擇題,一共 9 道題,大概 40 分鐘完成。

  1. 搖骰子 456 對手的得一分 123 你得一分,贏家必須到達 5 以上並且分數比對手大 2。 現在是 5 平局,我贏的概率是多少?
  2. 5张随机扑克,3张是A,问4张是A的概率
  3. 給積分求級數通項
  4. 求積分導數
  5. 3×3 線性方程組,問解是否 consistent 和 unique
  6. 搖骰子。 搖到 1 重搖,如果平局輸,問贏的概率
  7. 路徑積分
  8. 給 3 個 algebra 的 statement 判斷對錯。和特徵值,行列式,恆等矩陣有關
  9. 100个p=0.5的Bernoulli variables的和求小于60的概率

Hirevue问题

Goldman 的 Hirevue 一共六道題,面試前有 45 秒準備,2 分鐘回答一題,時間還是比較緊張的
1. Walk through your resume
2. Working with someone who was not completing his or her part. What did you do?
3. A time you met a high challenge goal that someone else thought you could not make it
4. A time you turned down a project or opportunity because you have a conflict
5. You decide to take extra class and you are overwhelmed. You are doing an individual project that prohibits teamwork and your classmate want to help you?What would you do?
6. How do you debug?

Read More

Goldman Sachs Interview Preparation

Goldman Sachs Coderpad OA | 一亩三分地

Contact Us

經過我們的強力面試輔助,OA 代寫,候選人通過這些面試題的解析和溝通,面試官不僅瞭解了候選人的程式設計能力,也看到了我在解決問題過程中清晰的思路和有效的溝通技巧。 這些不僅有助於應對 Goldman 的面試,同時也能提升我們解決實際程式設計問題的能力。 祝大家面試順利!

author avatar
ProgramHelp
END
 0
Comment(尚無留言)