Mental Model
Check if a sequence reads the same forwards and backwards by comparing characters from both ends moving towards the center.
Analogy: Like checking if a word on a mirror looks the same on both sides, such as 'madam' or 'racecar'.
start -> [m] a d a m ā end indexes: 0 -> 1 -> 2 -> 3 -> 4