1.Design the API
2.Parse and Calculate Shipping Costs
3.Calculate Shipping Cost Based on Country and Product
4.Print Remaining Balance of Aggregated Transactions
5.Match Transactions with Contracts
6.Aggregate Transactions
7.Extend Interval to Boundaries and Fill Gaps
8.Design a Ledger System for Stripe
9.Accept Language Function Implementation
10.Currency Exchange Rate Conversion
11.Design Ledger System
12.Bikemap Integration Task
13.Debug a Stripe Private Repository
14.Email Invoice Coding Challenge
15.Server Remove Penalty
16.Design an Internal Ledger API
17.Debugging C# Refit Project
18.API Integration for Map Drawing
19.Bitmap Character to Image Conversion
20.Transaction and Fraud Reporting
21.Parse Accept Language
22.Ledger Service System Design
23.Debugging Exercise
24.API Integration Task
25.Account Balance Problem
26.Bracket Expansion
27.Algorithm Design for Bank Account Balancing
28.System Design: Metric Counter
29.Debugging Task: Request Handling
30.Integration Task: Bikemap Issues
31.Coding Challenge: Email Invoice
32.Design a Webhook System for Stripe's Merchant Partners
33.Design a Rate Limiter
34.Debugging Mako Templating Library
35.Integration with BikeMap Python Codebase
36.Accept-Language Header Parsing
37.Validate Credit Card Number
38.Preparing Code for Production Merge
39.Algorithm Modification Based on Variable Thresholds
40.Algorithm for Ensuring Account Balances Above a Threshold
41.Rate Limiter Implementation
42.JSON File Request Handling
43.Debugging a Virtual DOM Implementation
44.Integration with JSON Replay
45.Invoice Reminder System
46.System Design: Webhook for Payment Completion
47.Debugging: Enhancing a JSON Parsing Library
48.Integration Coding: JSON Parsing and HTTP Requests
49.Coding Problem: History Stack
50.System Design: Payment Transfer System
51.Metrics System Database Design
52.Debugging Jackson Core Parsing
53.Load Balancer Weighted Routing
54.HTTP Request Problem
55.User Feature
56.Server Penalty
57.HTTP Parser
58.Credit Card Number Processing
59.Parse Credit Card Numbers from a String
60.Modify the changed_paring Function
61.React Feature Implementation
62.Design a Registration Flow
63.Debugging a Preact Virtual DOM Issue
64.Account Transfer Algorithm
65.Valid Credit Card Number Check
66.Front End Project: Telephone Number Input Formatting
67.Process and Validate Refund Requests
68.HTTP Parser Implementation
69.Rate Limiting Algorithm
70.Implement a Wallet Backend System
71.Parsing and Filtering Chargeback Information
72.Parse Network Chargeback Information
73.Closing Time Coding Problem
74.Feature Conflict Resolution in User Features
75.Debugging Python Code
76.Backend API Feature Access Evaluation
77.Chargeback Information Parsing
78.Feature Conflict Resolution with Priority
79.User Opt-In and Opt-Out Feature Visibility
80.User Feature Visibility
81.Get Best Closing Times from Aggregate Log
82.Find Best Closing Time Function
83.Compute Penalty Function
84.Store Penalty Problem
85.Design Payment Webhook Service
86.Debug YAML Processing
87.Integration Exercise
88.Shorten String
89.Extend Credit Card Validation with Specific Card Types
90.Validate and Mask Credit Card Numbers in a String
91.Server Penalty
92.HTTP Parser
93.Credit Card Validation
94.Store Open/Close Penalty
95.Parse Network Chargeback Information
96.Invoice Email Scheduler
97.URL Shortening Algorithm
98.Store Penalty Problem
99.Design a Metrics Counter System
100.Handle Infinity Case in Jackson
101.Optimize the Money Transfer Algorithm
102.Simple UI Creation
103.Integration with Request Replay
104.Account Balance Programming Task
105.Integration Challenge - Request Replay
106.Load Balancer Coding Challenge
107.Valid Credit Card Number Identification
108.Design a Ledger System
109.System Design: Payment API Fraud Detection
110.Design a Warehouse System for Storing Registration and Login Information
111.Currency Conversion Rate Calculation
112.Designing a Metric Counter System
113.Debugging Redirect in Requests
114.Integration of Bike Map Data
115.Account Balance Calculation
116.Foreign Currency Conversion Optimization
117.Store Penalty Problem
118.Design a Non-Scalable System
119.Integrate Fraud Rule Data
120.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. Parse and Calculate Shipping Costs
Given a string containing shipping cost information between different countries, perform the following tasks:
1. Return the shipping cost between specified countries for a specified courier company.
2. Allow one transshipment and return the transshipment route, courier, and shipping cost.
3. With one transshipment, find the minimum shipping cost.
Discuss your approach to parsing the string and solving each of the questions, including any potential challenges and how you would address them.
3. Calculate Shipping Cost Based on Country and Product
The interview question is to calculate shipping cost based on country and product. The candidate mentioned that the problem is similar to one found on a forum, but did not provide the content. The candidate used Java for the implementation and discussed the need for invalid check, error handling, and robust data type design. They also discussed alternative solutions and why they did not choose them.
4. Print Remaining Balance of Aggregated Transactions
Modify your program to print the remaining balance of aggregated transactions after they have been offset by the contract amounts. The contract's amount can be used to offset the aggregate transaction. It is recommended to minimize the use of logic from the second question; sometimes writing new logic is faster than modifying existing logic.
5. Match Transactions with Contracts
Extend your program to match the aggregated transactions with contracts. You have another dataset with fields {contractid, merchantid, cardtype, amount}. If a transaction does not match a contract, print the transaction. Ensure that the matching logic is efficient.
解锁更多真题,请点此 登录 篱笆帮