• Emmie@lemm.ee
    link
    fedilink
    arrow-up
    43
    ·
    edit-2
    1 month ago

    Let us substitute: ( - x, ) - y
    Thus ()() becomes xyxy
    ())( becomes xyyx
    Now clearly it can be seen, even while high, that the second one is and the first isn’t

  • palordrolap@kbin.run
    link
    fedilink
    arrow-up
    9
    ·
    1 month ago

    Yes it does bother me a little that the letters in the latter half of my username can’t be written backwards. (Well, some can, and the p can become a q, but then it’s not a p any more.)

  • istoff@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 month ago

    Best palindrome I ever come across is boob. I heard Jimmy Carr say it, but he could be repeating somebody else’s joke.

  • Melvin_Ferd@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    1 month ago

    Palindromes? Haha right guys so funny

    Totally not feeling inadequate as a vs graduate again. How bout them FAANGS, haha Arch

      • Melvin_Ferd@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        Yea but I’m just generally dumb in a pool of smart people. Not like I’m using palindromes in everyday conversation so when I see it I gotta look it up. Like when I saw a Fibonacci sequence and mentioned that it looks like something I’ve seen before but couldn’t remember where. This doesn’t even touch on why the syntax mentioned is a palindrome 😆

        • expr@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          1 month 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”.

        • marcos@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          1 month ago

          Nobody uses palindromes in everyday conversation.

          They are only useful as nerd jokes, interesting math facts (with no real world application), and stupid leetcode algorithms (with no real world application).

          Nearly everybody here knows about them because nearly everybody here is exposed to lots of instances of those 3 categories. You could be feeling out of the loop, but you shouldn’t at all get impostor syndrome from it.

          • Melvin_Ferd@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            1 month ago

            That’s actually a great response and just wanted to let you know I appreciate it. I’m actually pretty good with where I’m at and just joking around but your messages made me feel good and I wanted to let you know that and I appreciated it

  • TriflingToad@lemmy.world
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    1 month ago

    for those too lazy to google,
    palindrome /păl′ĭn-drōm″/ noun A word, verse, or sentence, that is the same when read backward or forward. “madam; Hannah; or Lewd did I live, & evil I did dwel.”

    () () backwards is )( )(
    () )( backwards is () )(

  • Imgonnatrythis@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago

    This is especially terrible when lying in bed. With a keyboard or pen and paper you can make sense of it, it hurts my brain a bit to visualize it though.

  • jaybone@lemmy.world
    cake
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 month ago

    A palindrome is about symbols. Not the visual representation of those symbols.