MicrosoftCoding·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
Single report
Last asked
2026-03-07
Stage
onsite-coding
Log in to continue reading the full content
