Microsoft logoMicrosoft
Coding·45 minMembers

Org Chart Report Count (Tree Aggregation)

Members only

Given a manager → reports graph, answer `countReports(id)` quickly under read-heavy workloads. Follow-up: how to update the aggregate when a single relationship changes.

SWE
tree
tree-broadcast
data-structure
medium
Frequency
Low
Last asked
2026-05-21
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...