📣 黑五网一特惠|VIP一年通行证5折,蓝莓、Offer多多同步特惠
回复: 8
跳转到指定楼层
上一主题 下一主题
收起左侧

Stripe 2024-2025 (2024.09.15)ng OA

全局:

2023(7-9月) 码农类General 硕士 全职@stripe - 网上海投 - 在线笔试  | 😐 Neutral 😫 Hardest | Other | 应届毕业生
让gpt尽量还原了!
限时50min 对我来说还是太难了 不知道有没有大佬过了
**Question**: **Catch Me If You Can**

**Background**:  
Stripe processes billions of dollars worth of transactions every day. As guardians of the Internet ecosystem, it is essential to ensure that legitimate merchants can safely transact with their customers, and that we quickly detect and block illegitimate or fraudulent activity. Stripe employs various machine learning models at scale, such as Radar, to detect fraudulent transactions as they come in. These models examine different variables about incoming transactions to determine their authenticity.

One input to examine is the outcome from credit card networks like Visa or Mastercard. These networks communicate with banks and provide response codes to reflect the outcomes of credit card transactions. Our goal is to develop a simple fraud detection model to determine if a merchant is fraudulent.

---

### **Part 1**:

Each Stripe merchant has an associated Merchant Consumer Code (MCC) specifying what kind of business the merchant operates. Certain businesses, such as airlines or event venues, are more risky than others, so there are different fraud tolerances for them.

We will use a basic algorithm to detect fraud: if a merchant is ever at or above a certain threshold
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限 或 查看其他获取积分的方式
Unlock interview details and practice with AI
Popular Interview Questions from Top Companies
acct_1,300,do_not_honor
DISPUTE,ch_2
CHARGE,ch_4,acct_2,400,approved
CHARGE,ch_5,acct_2,500,lost_card
```

Output:
```
acct_1
```

---

### **Part 3**:

Our fraud detection model is working well in the wild, but some merchants are disputing certain transactions marked as fraudulent by the credit card networks. We will now allow merchants to dispute transactions that were marked as fraudulent. If a merchant disputes a transaction and the dispute is accepted, the transaction will no longer count as fraudulent. Merchants can return to a non-fraudulent status if their ratio drops below the required threshold.

Disputes will be provided as:
```
DISPUTE,charge_id
```

You will update the list of fraudulent merchants accordingly.

本帖子中包含更多资源

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x

评分

参与人数 7大米 +16 收起 理由
yagamy + 1 很有用的信息!
熄灭的太阳 + 1 给你点个赞!
mochamacha + 1 good
Maz + 1 赞一个
目光逼人的太阳 + 1 赞一个

查看全部评分


上一篇:ZipRecruiter NG OA(General Coding Framework)
下一篇:HRT Algo Dev Intern OA
地里匿名用户
推荐
匿名用户-SIF5H  2024-10-10 02:22:16
请问他给的这个input1到input 6全都是string array吗?
回复

使用道具 举报

🔗
ahe123 2024-9-28 22:22:24 来自APP | 只看该作者
全局:
请问楼主答题的时候要开摄像头吗?
回复

使用道具 举报

🔗
hhhboy 2024-10-13 14:17:37 | 只看该作者
全局:
匿名用户 发表于 2024-10-9 13:22
请问他给的这个input1到input 6全都是string array吗?

感觉是文件输入?
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-37KC5  2024-10-15 14:13:21
lz 感谢 zzzzzz
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-DHSCH  2024-10-20 04:26:18
匿名用户 发表于 2024-10-9 14:22
请问他给的这个input1到input 6全都是string array吗?

应该是comma-separated string 吧
回复

使用道具 举报

全局:
lz过了多少,我也昨天做了,好难,最后过了22个。个人感觉可能出错的是,要支持threshold的两种格式,百分比和整数,需要区分清楚什么时候用什么判断依据。我没过完肯定是g了,分享经验求加米。

补充内容 (2024-10-20 04:31 +08:00):
好吧,这是9.15的了,怪我之前没有看面经,哭死
回复

使用道具 举报

🔗
hhhboy 2024-10-22 13:01:42 | 只看该作者
全局:
这个OA做了多久会有通知啊?
回复

使用道具 举报

全局:
persist2020 发表于 2024-10-19 13:30:48
lz过了多少,我也昨天做了,好难,最后过了22个。个人感觉可能出错的是,要支持threshold的两种格式,百分比和整数,需要区分清楚什么时候用什么判断依据。我
我也22个 但我感觉我支持两种格式写的没问题 就很烦
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表