This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingRunning sums of frequency squared times value under window moves.
What this asks
Compute the sum over values of frequency squared times value for a range.
Track value counts and the running total incrementally as cells enter and leave the window.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing