Stripe screening US 2024 [Rejected]

Anonymous User
4421
Nov 04, 2024

Screening with HR:

  1. Why do you want to leave your current company?
  2. Why Stripe?
  3. Discussion around recent projects and the challenges faced.

Technical Phone Screen:

The technical phone screen was scheduled after my initial screening with HR. The interviewer explained that the problem would be divided into four parts, and I would be evaluated based on completion and code quality.

Part 1: Parse a string in the format "USD:CAD:DHL:5,USD:GBP:FEDX:10", representing currency conversion rates from a source to a target currency and the associated shipping method. Write a method to convert a given amount from one currency to another. Only direct conversions are allowed.

Part 2: Write a method that returns the cost and shipping methods involved, allowing at most one hop in the conversion from one currency to another.

Part 3: Write a method that returns the minimum cost and involved shipping methods, allowing at most one hop for the conversion.

During the phone screen, I successfully solved the first three parts and ran test cases for each. Unfortunately, I ran out of time before I could get to the fourth part. I coded in C++, though I’d recommend using a language like Python to simplify input parsing.

Comments (8)