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 pricingBuild the fingerprint and power arrays in one forward pass.
What this asks
Build the prefix fingerprint array and the power array in one pass.
Each step extends the previous value: multiply by the base, add the character's value, reduce modulo the prime.
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