Skip to content
DevMeme
4719 of 7590
CS Fundamentals Post #5171 · source on Telegram

Single-cut apple puzzle meets side-eye monkey in an algorithmic humor meme

Description

Screenshot of a dark-mode tweet from a verified user (avatar blurred) containing a two-panel meme. Top illustration: three cartoon children stand around a round white table that holds two green apples and a kitchen knife; all three look puzzled and scratch their heads. Beneath the drawing, white text on a black bar reads: "Only 6% of people can handle this puzzle: These three want to share two apples equally, how you handle this with using only one stroke of the knife." Bottom section shows the well-known side-eye puppet monkey meme in two frames, silently reacting with mounting concern. For developers the scene evokes classic interview brain-teasers about fair resource allocation and "one-pass" algorithms - finding an elegant, single-operation solution rather than brute-forcing with multiple cuts

Comments

42
Anonymous ★ Top Pick Do one SIMD slice across both apples, tag the four shards with consistent hashes, and hand them out - boom, fruit microservices; the interviewer’s side-eye said I’d over-architected lunch
  1. Anonymous ★ Top Pick

    Do one SIMD slice across both apples, tag the four shards with consistent hashes, and hand them out - boom, fruit microservices; the interviewer’s side-eye said I’d over-architected lunch

  2. Anonymous

    When your PM says 'just split the two-week sprint equally among three teams' and you realize the only clean solution involves refactoring the org chart with extreme prejudice - classic N+1 problem where N is the number of stakeholders who survive the planning meeting

  3. Anonymous

    This puzzle is basically the software equivalent of being told to optimize for O(1) space complexity when you've already written the O(n) solution. The answer isn't to cut the apples into thirds - it's to cut through both apples simultaneously with one stroke, giving each person two halves. Much like production incidents, the real solution often requires reframing the problem entirely: you're not dividing two apples among three people, you're creating six equal pieces with one cut. Senior engineers recognize this immediately - it's the same mental model shift required when someone asks you to 'just make it scale' and you realize the architecture itself needs rethinking, not just adding more servers

  4. Anonymous

    Stack the apples and slice at the one‑third mark - SIMD knife; tell the PM it’s O(1) cake‑cutting and close the ticket

  5. Anonymous

    PM: 'Divide 2 epics equally across 3 squads with one PR merge.' Architects: [Elon monkey.exe has stopped working]

  6. Anonymous

    Two apples, three people, one stroke? Set requests=limits: 666m each and kubectl apply - instant “fair share” with a side of throttling

  7. @sylfn 3y

    do a triple kill

    1. @KP2020 3y

      One stroke only

      1. @sylfn 3y

        with a single (but long) stroke

      2. @RiedleroD 3y

        rip and tear until it's done I don't need no knife

  8. @KP2020 3y

    Stack them up and cut third of both of them at once

  9. @patron4yk 3y

    Kill the third one 🔪

    1. @callofvoid0 3y

      spin the knife kill whoever the knife is pointing at when it stops spinning ?

  10. @chupasaurus 3y

    good luck finding the offset

    1. @ZgGPuo8dZef58K6hxxGVj3Z2 3y

      r * sqrt(3) / 3

  11. dev_meme 3y

    Don’t you think that middle part gonna be bigger than those on sides?

    1. @chupasaurus 3y

      They think an apple is a perfect sphere, not a thing made of unequal sectors

      1. dev_meme 3y

        Espicially with the perfect sphere sides proofably will be smaller than the middle sector

        1. @chupasaurus 3y

          I know, but the type of equality hasn't been provided

          1. @SamsonovAnton 3y

            bool operator ApplePart::==(const ApplePart& other) const { return true; } 😎

            1. @sylfn 3y

              "operator" should go after::

              1. @SamsonovAnton 3y

                I have never actually wrote an operator outside of a class declaration.

                1. @sylfn 3y

                  :3

            2. @callofvoid0 3y

              which language has this fucking syntax?

              1. @sylfn 3y

                corrupt C++

      2. @chupasaurus 3y

        And yes, I ate a literal tonne of various apples.

    2. @callofvoid0 3y

      I draw this with hand just as a schema you can take rulers with yourself

  12. dev_meme 3y

    And there’s gonna be only 2 middle parts of apple

  13. @chupasaurus 3y

    So 2 middle parts could be OK

  14. @max_pop0ff 3y

    Despite comprising only 6% of the population, these people account for 52% of the iq in the US

    1. @misesOnWheels 3y

      (((people)))

  15. @dsmagikswsa 3y

    Use One stroke of the knife and use multiple stroke of another knife Easy

  16. @ShiningFlames 3y

    One stroke to the person who is counting stroke, then as many strokes as you like

    1. @callofvoid0 3y

      then there will be no need for more strokes

  17. Deleted Account 3y

    Kill the odd person with one stroke :)

  18. @Dark_Lord_of_Debian 3y

    What about the apple cores? Most people don't eat those and that's a major piece of 2 parts of your diagram.

    1. @callofvoid0 3y

      middle part of apples if assumed as a complete sphere; has more volume than the sides so the core is for compensating unequality

      1. @zherud 3y

        Well. They ask you how will you deal with situation, stating only that those three want to share apples equally. Noone said the decision has to actually be equal. You need to pay more attention to details bro. You're to inattentive

        1. @callofvoid0 3y

          I don't get your point

          1. @zherud 3y

            Well, can't help you

            1. @callofvoid0 3y

              understandable,have a good day

  19. @callofvoid0 3y

    why these sliced guts are still getting reactions

Use J and K for navigation