• The answer to 2 2 3 + / does not involve brackets.

    (2+3)/2

    Don’t you know all equations are secretly RPN, in the background?

    No they aren’t liar. They are broken down into binary trees. I teach Computer Science as well dude.

    Here’s the binary tree for 2 2 3 + /

    Here’s the binary tree for (2+3)/2

    Oh look! it’s the exact same tree! Who woulda thought. Oh yeah, me - I’ve only been telling you that the whole damn time 😂

    There’s only a stack,

    Yep, that’s where things in brackets get put alright - see binary tree above😂

    the rules for a stack are that brackets do not work

    Except I just proved they do 😂

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      9 days ago

      (2+3)/2

      What is this irrelevant equation? We’re talking about 2 2 3 + /. There’s no tree, just a stack. Do you not know what words mean?

      • What is this irrelevant equation?

        You don’t know how to read infix notation?? THAT explains a LOT! 🤣🤣🤣

        We’re talking about 2 2 3 + /

        Yep, exact same equation - see the binary tree 🙄

        There’s no tree, just a stack

        Ok, so now you’re admitting to not knowing how programming works either. Got it.

        Do you not know what words mean?

        You clearly don’t! 🤣🤣🤣