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.
We have an m x n 2D grid initialized with three possible values:
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
The following metrics were computed from 411 interview experiences for the TikTok Software Engineer role in United States.
TikTok's interview process for their Software Engineer roles in the United States is extremely selective, failing the vast majority of engineers.
Candidates reported having mixed feelings for TikTok's Software Engineer interview process in United States.