Bobyard logoBobyard
CodingMembers

Searching a Comment Thread While Keeping Context

Members only

A tree-manipulation question set in the context of threaded discussions. The recursion is short, but the correct behavior around what survives and what is pruned is easy to get subtly wrong, so careful reading and testing matter more than speed.

SWE
medium
tree
recursion
tree-traversal
javascript
frontend
Frequency
Single report
Last asked
2026-04-20
Stage
onsite-coding

Members get

  • Full problem statement
  • Known variants to clarify
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 6 common pitfalls
  • 5 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...