call(back)

TikTok

ByteDance's process on TikTok's teams: a CodeSignal assessment for interns and new graduates, rounds scheduled one at a time, oral fundamentals for infra and SRE roles, and a hiring manager who asks about pace.

Typical loop

  1. 1CodeSignal assessment for interns and new graduates
  2. 2Phone screen: resume deep dive, then coding with your own test cases
  3. 3Second technical round: coding or system design
  4. 4USDS and infra loops add a Linux and networking round
  5. 5Hiring-manager round, then team match

Questions

Callback's practice questions and the LeetCode questions TikTok has been asking, filtered together.

Practice questions

Implement Promise.all

Frontend · Store results by index, count down, resolve an empty input at once, reject on the first failure.

mediumSign in to star problems

Implement Function.prototype.bind

Frontend · A closure over thisArg and the leading arguments; the original runs later, with the call's own arguments appended.

easySign in to star problems

Data Selection

Frontend · Merge per user with a Map re-inserted on every session so order follows the last one, then filter the merged rows.

hardSign in to star problems

Build a Comment Tree From Flat Records

Frontend · Turn a flat list of comments with parent ids into nested roots with children, in two passes with a map, without depending on input order or mutating the input.

easySign in to star problems

Nested Comment Thread

Frontend · A reusable comment component: replies nested to any depth, an inline reply form, a hide/show toggle with a count, and a flat list in state with the tree derived from it.

mediumSign in to star problems

Asked on LeetCode

362 questions · all time