Jane Street logoJane Street
CodingMembers

Tree Marking + Sliding-Window Sum API

Members only

A two-part tree exercise built around a provided node class: first a small API for marking nodes where repeated marks must be undone one by one, then a scoring question over tree levels. It tests careful reading of overlapping scoring rules and clean decomposition into simple passes.

SWE
medium
tree
hashmap
sliding-window
bfs
object-design
Frequency
Low
Last asked
2026-06-29
Stage
phone-screen

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 6 common pitfalls
  • 6 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...