最近我们这边陆续有不少同学顺利通过 Stripe OA ,很多人反馈说题库其实比较集中,练过 LeetCode 的话,上手会相对轻松。大家把遇到的题目做了记录,我整理了一下,发现这 6 道题基本覆盖了 Stripe 的大部分 OA 题库。分享出来给准备 Stripe 的同学们参考~

1. Atlas Company Name Check
Problem Statement:
Given a company name string, determine whether it is valid according to Stripe’s rules.
- The name must not contain special characters (only letters, numbers, and spaces are allowed).
- The length should be between 2 and 50 characters.
- The name must not appear in a given blacklist of forbidden names.
Return "valid" if the name passes all checks, otherwise return "invalid".
2. Card Range Obfuscation
Problem Statement:
You are given a list of credit card number ranges represented as [start, end]. For security reasons, you must output obfuscated ranges, replacing digits with "X" except for the first 2 and last 2 digits.
- If two ranges overlap or are adjacent, merge them into one.
- Output the merged and obfuscated ranges in ascending order.
3. Catch Me If You Can — Fraud Detection
Problem Statement:
You are given a list of transactions with the following fields:
user_id,timestamp,amount,ip_address.
A transaction is considered fraudulent if:
- The same user makes multiple transactions from different IP addresses within 10 minutes.
- The total transaction amount from a user in any 1-hour window exceeds $5000.
Return the list of fraudulent transaction IDs in ascending order.
4. Store Closing Time Penalty
Problem Statement:
A store closes at a specific time T. Customers arrive with orders at different times. If an order is accepted after closing time, a penalty is incurred. Each order has a processing time and a penalty value.
Find the optimal schedule of processing orders that minimizes the total penalty.
(Hint: This is a variation of scheduling with deadlines and penalties, solvable with DP or greedy approaches.)
5. Subscription Notification Scheduler
Problem Statement:
You are given a list of subscriptions, each defined by:
start_time,interval(in days), andcount.
You must simulate the notification system and output the exact timestamps of all notifications that need to be sent. The notifications should be ordered by time, and if two notifications happen at the same time, order them by subscription ID.
6. Accept-Language Header Parser
Problem Statement:
You are given an HTTP header string in the format:
Accept-Language: en-US,en;q=0.8,fr;q=0.9,de;q=0.7
Parse the string and return the list of languages ordered by their quality value (q). If q is missing, it defaults to 1.0. Ties should be broken by the order of appearance.
Output for the above example should be:
["en-US", "fr", "en", "de"]
常见问题 (FAQ)
Q: Stripe OA 一般有几道题?时间多长?
A: 通常是 2 道编程题,时长 90 分钟左右,题库固定在这 6~8 道里轮换。
Q: 题目难度相当于什么水平?
A: 整体相当于 LeetCode Medium,逻辑性强但不涉及太多复杂算法。
Q: 有没有样例测试?
A: 有的,平台会提供样例输入输出和隐藏测试,代码必须覆盖边界情况才能通过。
Q: 刷哪些题最有帮助?
A: 建议重点练习字符串 parsing、区间合并、调度类 DP/贪心题。
Stripe OA 全程助攻|远程无痕+语音提醒,轻松搞定大厂笔试面试
Stripe OA 最大的特点就是题目贴合业务场景,看似不难,但时间紧张+边界条件多,很容易在最后几分钟因为小 bug 掉分。我们团队长期提供 OA 全程辅助:
- 远程无痕联机,确保测试用例 100% 通过
- 实时语音提醒,帮你避免踩坑卡点
- 面试场景下还能提供思路点拨,确保你不卡壳
如果你也在准备 Stripe 或其他大厂 OA/面试,别一个人硬扛,找对方法和帮手,成功会更快一步。