• bruhduh
    link
    fedilink
    157 months ago

    What about ⊂⁠(⁠(⁠・⁠▽⁠・⁠)⁠)⁠⊃

  • @Kaelygon@lemmy.world
    link
    fedilink
    17
    edit-2
    7 months ago

    this took me a while but after converting to ascii in hex I get it

    “())(” = 40 41 41 40

    “()()” = 40 41 40 41

    As long your strings aren’t null terminated

    • @pingveno@lemmy.world
      link
      fedilink
      English
      87 months ago

      As long your strings aren’t null terminated

      What kind of monstrous bug prone language would do that?

  • 𝓔𝓶𝓶𝓲𝓮
    link
    fedilink
    40
    edit-2
    7 months 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

  • @TriflingToad@lemmy.world
    link
    fedilink
    237 months 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 () )(

  • @Melvin_Ferd@lemmy.world
    link
    fedilink
    37 months 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
        17 months 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
          37 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”.

        • @marcos@lemmy.world
          link
          fedilink
          47 months 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
            1
            edit-2
            7 months 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