• expr@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    All it means is if you were to reverse the order of the characters, you’d get the same string you started with. So “dog” isn’t a palindrome because when you reverse it, you get “god”. “dog god” is a palindrome, though, because if you read it backwards, it’s also “dog god”.