ByteDance / TikTok logoByteDance / TikTok
CodingMembers

Contain the Virus: Grid Quarantine Simulation

Members only

A TikTok onsite grid-simulation round about containing an outbreak that spreads across a map day by day. It combines region discovery, per-region scoring, and a multi-step simulation loop, and most of the difficulty is keeping the grid state consistent from one day to the next.

SWE
grid
bfs
dfs
simulation
greedy
hard
Frequency
Single report
Last asked
2026-11-14
Stage
onsite-coding

Members get

  • Full problem statement
  • Step-by-step approach
  • 3 common pitfalls
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...