上周剛陪一個在美碩士學員完成 Stripe 2026 New Grad OA 的全程代做。 這位同學是 CS 轉 DS 背景,專案經驗紮實但刷題量有限,前兩次 OA 因邏輯混亂被篩。 後來瞭解到我們的 「系統類比類 OA 代碼協作方案」,決定委託我們進行全流程代做。
他的核心痛點在於:能理解需求但無法高效組織代碼邏輯。 這類多階段系統模擬題需要同時維護伺服器狀態、連接映射、物件分配等複雜關係,稍有不慎就會導致變數衝突。 我們的技術團隊通過即時共享代碼編輯器,在 60 分鐘內完成了從需求分析到代碼提交的全流程操作。
最終結果超出預期 ——HackerRank 平臺全程錄屏通過,5 個測試用例全部綠燈。 整個過程中,學員僅需在關鍵節點確認邏輯,其餘代碼編寫、調試優化均由我們的工程師完成。

Stripe OA 概覽
- 公司:Stripe
- 岗位:Software Engineer / New Grad 2026
- 平臺:HackerRank(全程錄屏 + 攝像頭)
- 題量:1 道題,共 5 個 parts
- 時長:60 分鐘
- 難度:中偏易(關鍵在邏輯,不在演算法)
- 語言限制:可选 Python / Java / C++
這一場屬於典型的 系統狀態類比類 OA。
不像 LeetCode 那種演算法題,而是更考察你的 「思路管理能力」 —— 要能同時跟蹤伺服器、連接、物件、容量等多個狀態。
Stripe 26 New Grad OA 題目回忆版
Design a Server Load Balancing System
You are given:
numServer: total number of serversMaxConnection: maximum connections each server can handlerequests[n]: a list of incoming requests
Each request can be one of:CONNECT, DISCONNECT, or SHUTDOWN.
Your task is to simulate how servers manage these requests and return a log of all accepted connections.
Part 1
Handle only CONNECT requests.
Each CONNECT request is represented as:
["CONNECT", connectId, userId, objId]
Routing rule:
- Choose the server with the smallest current connection count.
- If multiple servers have the same number of connections, choose the one with the smaller index (Server 1, Server 2, …).
Output which server each connection is routed to.
Part 2
Add DISCONNECT requests:
["DISCONNECT", connectId, userId, objId]
Part 3
Add an optimization rule:
If multiple CONNECT requests share the same objId, they should all be routed to the same server (if possible).
Part 4
Add the capacity limit:
Each server can hold at most MaxConnection connections.
If a server is full, skip (reject) the new connection and don’t add it to the log.
Part 5
Add the SHUTDOWN operation:
["SHUTDOWN", serverId]
When a server is shut down:
- All its current connections should be reassigned to other active servers following the same rules.
- If reassignment fails (because all servers are full), drop those connections.
- Remove the shutdown server from the active pool.
常見坑點
- Part 3:相同 obj 的 server 已經滿時,必須重新找新的 server。
- Part 5:shutdown 後要刪除 obj_to_server 對應映射,否則會指向已失效 server。
- 被拒絕或被丟棄的連接不記 log。
- shutdown 後要重新 route 舊連接,不能直接忽略。
怕 Stripe OA 翻車丟 offer? 聯機代做來兜底! 2026 New Grad offer 直接拿!
如果你正在準備 Stripe、DoorDash 等公司的系統類比類 OA,歡迎體驗我們的OA 無痕連線代做服務。 我們承諾:
- 100% 通過平臺反作弊檢測
- 代碼擁有權完全歸屬客戶
- 支援任意時段的進度查詢