# Find the Longest Semi-Repetitive Substring (LeetCode 2689)
## Approach
Two pointers tracking last adjacent-equal pair.
## Edge cases
All distinct chars; all same chars.
## Practice tip
Walk an example aloud first.
Interview prep: [Linkjob AI](https://www.linkjob.ai/).