Taro Logo

Software Engineer (Internship) Interview Experience - United States

November 13, 2017
Positive ExperienceNo Offer

Process

Quick overview phone call with general behavioral questions. Went over resume and talked about any upcoming deadlines I had.

Set up another phone call with an engineer on the team.

Didn't make it past the first round.

Questions

You're running a pool of servers where the servers are numbered sequentially starting from 1.

Over time, any given server might explode, in which case its server number is made available for reuse.

When a new server is launched, it should be given the lowest available number.

Write a function which, given the list of currently allocated server numbers, returns the number of the next server to allocate.

In addition, you should demonstrate your approach to testing that your function is correct.

You may choose to use an existing testing library for your language if you choose, or you may write your own process if you prefer.

For example, your function should behave something like the following:

next_server_number([5, 3, 1]) 2 next_server_number([5, 4, 1, 2]) 3 next_server_number([3, 2, 1]) 4 next_server_number([2, 3]) 1 next_server_number([]) 1 5, 3, 1

Was this helpful?

Interview Statistics

The following metrics were computed from 39 interview experiences for the Stripe Software Engineer (Internship) role in United States.

Success Rate

10%
Pass Rate

Stripe's interview process for their Software Engineer (Internship) roles in the United States is extremely selective, failing the vast majority of engineers.

Experience Rating

Positive62%
Neutral26%
Negative13%

Candidates reported having very good feelings for Stripe's Software Engineer (Internship) interview process in United States.

Stripe Work Experiences