As reported: Rubrik senior engineering manager loop (March 2026), round 2 — system design, with many follow-ups. Also asked in a Rubrik software engineer loop (India, March 2026) as the high-level design round: count the most frequent word across all GitHub repositories, where the infrastructure is a set of VMs that can run any code.
Design a system that finds the most frequent (set of) English words across all GitHub repositories.
What you have
- A master node, plus spare capacity on a set of unreliable, crash-prone nodes (VMs that can run any code).
- No managed services — but you may install software on the nodes, such as an embedded database.
Agree on scope first: what counts as a word (code identifiers? comments? only English dictionary words?), whether the answer is the top 1 or the top K, and whether it is computed once or kept up to date.