The interview lasts 60 minutes in total. The coding part takes about 45 minutes and consists of multiple parts. You can unlock the next part only after completing the current one.
The entire interview is conducted on HackerRank, and you need to consider all test cases and edge cases yourself. The goal is to implement the functionality, not to focus on time or space complexity.
Here’s a real example of a Stripe interview question:
Part 1
Calculate the fee for various transaction types
In this part, you need to calculate the fee for different transaction types. Each transaction has a fixed and variable fee. You need to write a function to calculate the fee for each transaction based on the contents of a CSV file.
Part 2
Calculate the payment fee based on buyer country
This part adds a country constraint to the transaction type. The payment fee is determined based on the payment provider and the buyer's country. The fixed fee is 30 cents, and the variable fee changes according to the specific conditions in the table.
Part 3
Tiered volume-based payment fee
This part adds a fee based on transaction volume. If a merchant’s total transaction volume exceeds a threshold, their future transaction fees will be reduced based on new rates.
Part 4
Part 4: Tiered volume-based payment fee and dispute fee
The final part includes dispute fees in the calculation. The dispute fee is based on the dispute rate. If a merchant's dispute rate exceeds a certain threshold, an additional fee is applied.
Overall, each part of the Stripe interview builds on the previous one, with added constraints. The one-hour time limit is quite tight, so it’s important to prepare in advance with practice problems.
Other related interview experience of Stripe can be referred to this.
Programhelp 's VO remote assists and the experience goes straight beyond expectations!

Top comments (0)