OA, 2 easy questions.
One is for binary tree diameter: calculate the maximum length of a path in a binary tree. It can be solved using DFS.
The other is a scheduling problem: find the maximum number of available rooms without conflicting.
What is the time complexity?
Can you use a stack instead of recursion?
The following metrics were computed from 1 interview experience for the TikTok Software Engineer role in State College, Pennsylvania.
TikTok's interview process for their Software Engineer roles in State College, Pennsylvania is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for TikTok's Software Engineer interview process in State College, Pennsylvania.