Stripe计算机科学面试真题

职位分类
全部
数据相关
计算机科学
人工智能
产品经理
BQ
面试题
全部(14)
OOD(0)
Algorithm(4)
System Design(9)
高频题(0)
Math(0)
全部(14)
OOD(0)
Algorithm(4)
System Design(9)
高频题(0)
Math(0)
1.Design the API
2.Design a Ledger System
3.System Design: Payment API Fraud Detection
4.Design a Warehouse System for Storing Registration and Login Information
5.Currency Conversion Rate Calculation
6.Designing a Metric Counter System
7.Debugging Redirect in Requests
8.Integration of Bike Map Data
9.Account Balance Calculation
10.Foreign Currency Conversion Optimization
11.Store Penalty Problem
12.Design a Non-Scalable System
13.Integrate Fraud Rule Data
14.Customer Tracking System Design
1. Design the API
Assume you're a PM on Google Maps and want to integrate with DoorDash to allow users to order delivery. Design the API. 
2. Design a Ledger System
Design a ledger system focusing on the ledger aspect rather than a payment service. Discuss your design approach and how you would satisfy the interviewer's requirements.
3. System Design: Payment API Fraud Detection
You work for a company that runs a payments API as a web service, and bad actors often try to defraud your service. One common fraud attack vector is when previously 'good' customer accounts are taken over by bad actors, which we call 'account takeovers'. Design a system to identify and respond to these account takeovers. Consider that bad actors might have taken over the account by guessing a weak password or using passwords found in other leaks on the web; or they might have purchased the account from an unscrupulous merchant. The bad actor then uses the account to make charges against stolen credit cards and transfer funds from the merchant’s account to their own. It’s hard to identify these occurrences because the accounts have a history of good, non-suspicious behavior. It’s possible to catch these account takeovers because they relate to a change in behavior, either in the payments that the merchant is processing or changes in details (login IP, for example) in how the account is being accessed. We need to catch these occurrences as quickly as possible when they occur because in a matter of hours or days a bad actor can steal a lot of money. Design a machine learning system to identify the account takeover issues in Stripe.
4. Design a Warehouse System for Storing Registration and Login Information
Design a system that can handle the storage of registration and login information for a warehouse system. Discuss the components and architecture you would use, how you would handle data consistency and integrity, and any scalability considerations.
5. Currency Conversion Rate Calculation
Given an input string representing currency conversion rates in the format 'USD:AUD:1.4,CAD:USD:0.8,USD:JPY:110', implement a function that performs the following tasks: Part 1: Return the direct conversion rate for a given pair of currency codes if it is recorded in the input string. Part 2: If the conversion rate can be calculated through one intermediate currency (e.g., CAD to AUD via USD), return this rate as well. Part 3: When calculating the conversion rate in Part 2, use the 'best conversion calculation available'. Part 4: The function should be able to return all possible conversion rate pairs that can be calculated from the input string.