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 pricingDecide whether a string repeats a shorter block.
What this asks
Decide whether a string is a repetition of a shorter block.
The longest border decides: the string repeats when its length minus the border divides evenly.
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