Stripe计算机科学面试真题

职位分类
全部
数据相关
计算机科学
人工智能
产品经理
BQ
面试题
全部(84)
OOD(4)
Algorithm(32)
System Design(30)
高频题(0)
Math(0)
全部(84)
OOD(4)
Algorithm(32)
System Design(30)
高频题(0)
Math(0)
1.Design the API
2.Preparing Code for Production Merge
3.Algorithm Modification Based on Variable Thresholds
4.Algorithm for Ensuring Account Balances Above a Threshold
5.Rate Limiter Implementation
6.JSON File Request Handling
7.Debugging a Virtual DOM Implementation
8.Integration with JSON Replay
9.Invoice Reminder System
10.System Design: Webhook for Payment Completion
11.Debugging: Enhancing a JSON Parsing Library
12.Integration Coding: JSON Parsing and HTTP Requests
13.Coding Problem: History Stack
14.System Design: Payment Transfer System
15.Metrics System Database Design
16.Debugging Jackson Core Parsing
17.Load Balancer Weighted Routing
18.HTTP Request Problem
19.User Feature
20.Server Penalty
21.HTTP Parser
22.Credit Card Number Processing
23.Parse Credit Card Numbers from a String
24.Modify the changed_paring Function
25.React Feature Implementation
26.Design a Registration Flow
27.Debugging a Preact Virtual DOM Issue
28.Account Transfer Algorithm
29.Valid Credit Card Number Check
30.Front End Project: Telephone Number Input Formatting
31.Process and Validate Refund Requests
32.HTTP Parser Implementation
33.Rate Limiting Algorithm
34.Implement a Wallet Backend System
35.Parsing and Filtering Chargeback Information
36.Parse Network Chargeback Information
37.Closing Time Coding Problem
38.Feature Conflict Resolution in User Features
39.Debugging Python Code
40.Backend API Feature Access Evaluation
41.Chargeback Information Parsing
42.Feature Conflict Resolution with Priority
43.User Opt-In and Opt-Out Feature Visibility
44.User Feature Visibility
45.Get Best Closing Times from Aggregate Log
46.Find Best Closing Time Function
47.Compute Penalty Function
48.Store Penalty Problem
49.Design Payment Webhook Service
50.Debug YAML Processing
51.Integration Exercise
52.Shorten String
53.Extend Credit Card Validation with Specific Card Types
54.Validate and Mask Credit Card Numbers in a String
55.Server Penalty
56.HTTP Parser
57.Credit Card Validation
58.Store Open/Close Penalty
59.Parse Network Chargeback Information
60.Invoice Email Scheduler
61.URL Shortening Algorithm
62.Store Penalty Problem
63.Design a Metrics Counter System
64.Handle Infinity Case in Jackson
65.Optimize the Money Transfer Algorithm
66.Simple UI Creation
67.Integration with Request Replay
68.Account Balance Programming Task
69.Integration Challenge - Request Replay
70.Load Balancer Coding Challenge
71.Valid Credit Card Number Identification
72.Design a Ledger System
73.System Design: Payment API Fraud Detection
74.Design a Warehouse System for Storing Registration and Login Information
75.Currency Conversion Rate Calculation
76.Designing a Metric Counter System
77.Debugging Redirect in Requests
78.Integration of Bike Map Data
79.Account Balance Calculation
80.Foreign Currency Conversion Optimization
81.Store Penalty Problem
82.Design a Non-Scalable System
83.Integrate Fraud Rule Data
84.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. Preparing Code for Production Merge
Discuss the considerations and steps required when merging the account balance adjustment code into production. Focus on aspects such as exception handling, method and parameter renaming, and the use of thread-safe data structures.
3. Algorithm Modification Based on Variable Thresholds
Modify the previously discussed algorithm to accommodate variable thresholds for each account, where the amount cannot exceed or fall below a certain limit. Explain the changes needed in the existing code to handle this new requirement.
4. Algorithm for Ensuring Account Balances Above a Threshold
Design an algorithm to adjust account balances to ensure each account has more than $100. The approach involves using two lists, one for accounts with balances above $100 and one for those below. Then, apply a two-pointer technique to increment and decrement the balances accordingly. After completing the initial solution, write test cases to verify its correctness. Discuss potential optimizations, such as using a priority queue, and explain why it might not be necessary.
5. Rate Limiter Implementation
Design and implement a rate limiter. You have 45 minutes to complete this task, after which you will have a discussion about your solution.