ByteDance / TikTok logoByteDance / TikTok
Coding·45 minMembers

Grid Shortest Path with K Obstacle Eliminations

Members only

First-round Growth coding prompt: find the shortest path in a grid, then handle the follow-up where up to `k` obstacles can be eliminated. Full I/O was thin, but the required state is `(row, col, rema...

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...