ByteDance / TikTok logoByteDance / TikTok
Coding·60 minMembers

Possible Bipartition (LC 886)

Members only

TikTok LIVE phone-screen graph problem about splitting a group of people into two sides under pairwise conflict constraints. The interviewer keeps pressing for a better solution, and the environment provides no test harness, so the candidate must write and run their own cases.

SWE
graph
bfs
dfs
union-find
medium
Frequency
Single report
Last asked
2026-10-19
Stage
phone-screen

Members get

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

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...