Mental Model
A palindrome reads the same forwards and backwards. We check if the first half matches the reversed second half.
Analogy: Like reading a word on a mirror: if the reflection looks the same as the original, it's a palindrome.
head -> [p] -> [a] -> [l] -> [i] -> [n] -> [d] -> [r] -> [o] -> [m] -> [e] -> null βstart βend
