注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
team screen是总攻一道题3个part要求45分钟做完 + 15分钟buffer。我做出来了两个part隔天就被拒了。现在的bar真的是好高。
Question
part 1 :
Description: Stripe accepts payments on behalf of merchants. These payments begin as Authorization Requests, which represent an intent to transfer funds from an end user's credit card to a merchant. Our system receives these requests and decide the Outcome of each Authorization Request. For now, the system's policy is to APPROVE all requests.
Authorization Requests arrive in the following format: timestamp_seconds,unique_id,amount,card_number,merchant
For example: 5,R1,5.60,4242424242424242,bobs_burgers 10,R2,500.00,4242111111111111,a_corp
No datud Rule cannot be applied to a previous request.
Integrate Fraud Rule data: REJECT fraudulent Authorization Requests. For the same input as before:
timestamp_seconds,unique_id,amount,card_number,merchant 5,R1,5.60,4242424242424242,bobs_burgers 10,R2,500.00,4242111111111111,a_corp
And the fraud rule input:
time,field,value 1,merchant,bobs_burgers 20,card_number,4242111111111111
The expected report: 5 R1 5.60 REJECT 10 R2 500.00 APPROVE
|