Expand around center [mp]
Micro pattern¶
Description¶
Try possible centers and expand symmetrically while paired positions match.
Problems¶
- 5. Longest Palindromic Substring (Top Medium)
Try possible centers and expand symmetrically while paired positions match.