ByteDance / TikTok logoByteDance / TikTok
Coding·60 minMembers

Longest Zigzag Path in a Grid

Members only

ByteDance / TikTok Ads phone-screen coding round built on a longest-path-on-a-grid problem with an extra alternation constraint that rules out the textbook traversal. Expect a long resume chat up front — longer if you have an ads background — which squeezes the coding window, so the round tests pacing and clean state tracking as much as the algorithm itself. A recent SWE/Ads phone-screen signal worth a focused drill.

SWE
grid
dfs
backtracking
dp
medium
Frequency
Single report
Last asked
2026-06-17
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...