Taro Logo

Senior Software Engineer Interview Experience - San Francisco, California

July 1, 2022
Positive ExperienceGot Offer

Process

The recruiter got in touch with me.

The interview process included an initial call, a tech round, system design, and an interview with the senior manager.

I received an offer within 3 days of the last interview. The interview felt very easy, and I have a feeling that their employees may not be that competent.

Questions

Description: Design a class such that:

  1. You will be given a fixed set of tokens and cards, each with a cost in terms of tokens required to buy it. You have to decide whether you can buy the card with the given number of tokens.

  2. Write a function which will buy the card with the given number of tokens (if you have enough) and also update the total tokens you have.

  3. Assuming you already have an existing set of cards, if you have a card with the same color as a token you need to buy a new card, you can buy it without spending any tokens on it.

  4. For example, number of tokens you need to buy a card: [1 red, 1 red, 2 green]. Tokens you have: [1 red, 1 red, 1 green]. You already have a green card. Can you compensate for the missing green token with the green card you already possess without losing it, and also use it for the next purchase if it satisfies that condition?

Some tips: Make sure to:

  • Handle errors.
  • Use dictionaries for O(1) access.
  • Add comments to the code.

Was this helpful?

Interview Statistics

The following metrics were computed from 4 interview experiences for the Flexport Senior Software Engineer role in San Francisco, California.

Success Rate

50%
Pass Rate

Flexport's interview process for their Senior Software Engineer roles in San Francisco, California is fairly selective, failing a large portion of engineers who go through it.

Experience Rating

Positive50%
Neutral25%
Negative25%

Candidates reported having very good feelings for Flexport's Senior Software Engineer interview process in San Francisco, California.

Flexport Work Experiences