Taro Logo

Software Engineer Interview Experience

April 2, 2021
Positive ExperienceNo Offer

Process

It was nice. The first 7 minutes were an introduction, followed by half an hour for the coding question. The interviewer was nice and gave the one hint I had needed to do the question. Overall, it was a good experience.

Questions

We have an m x n 2D grid initialized with three possible values:

  • -1: An obstacle.
  • 0: An exit.
  • INF: An empty room. We use the value 2^31 - 1 = 2147483647 to represent INF, as you may assume that the distance to an exit is less than 2147483647.

We want to fill each empty room with the distance to its nearest exit. If it is impossible to reach an exit, it should be filled with INF.

Example: Given the 2D grid:

INF -1 0 INF INF INF INF -1 INF -1 INF -1 0 -1 INF INF

We expect the output 2D grid as:

3 -1 0 1 2 2 1 -1 1 -1 2 -1 0 -1 3 4

Was this helpful?

Interview Statistics

The following metrics were computed from 411 interview experiences for the TikTok Software Engineer role in United States.

Success Rate

5%
Pass Rate

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

Experience Rating

Positive31%
Neutral47%
Negative22%

Candidates reported having mixed feelings for TikTok's Software Engineer interview process in United States.

TikTok Work Experiences