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 pricingThe last LPS entry is the longest proper prefix that is also a suffix.
What this asks
Find the longest proper prefix that is also a suffix.
The last entry of the LPS array is exactly that length.
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