ByteDance / TikTok logoByteDance / TikTok
Coding·60 minMembers

Spiral Matrix (LC 54) with Follow-Up Constraints

Members only

LC 54 Spiral Matrix in an e-commerce backend intern first round, conducted in Chinese. After a DFS + visited-array answer, the interviewer adds two constraints: O(1) extra space (output excluded) and ...

SWE
array
grid
simulation
medium
Frequency
Single report
Last asked
2026-09-28
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...