ByteDance / TikTok logoByteDance / TikTok
Coding·45 minMembers

Grid Shortest Path with K Obstacle Eliminations

Members only

TikTok Growth first-round coding prompt on shortest path in a grid, with an escalation that adds a limited obstacle-removal budget. The public signal is the state modeling: a plain grid traversal becomes a resource-constrained traversal once the follow-up lands.

SWE
grid
bfs
shortest-path
medium
Frequency
Single report
Last asked
2026-06-29
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...