Handwritten notes.

Manacher's Algorithm