Skip to content
DevMeme
2118 of 7590
CS Fundamentals Post #2366 · source on Telegram

Dijkstra's Trolley Problem

Description

A white diagram is titled "Dijkstra's Trolley Problem" with the subtitle "Which path will you choose?" It shows a trolley track drawn as a dense graph: black rail segments connect many blue circular nodes, with a trolley starting at the far left and small human figures placed along many possible routes. The meme fuses the classic moral trolley problem with Dijkstra's shortest-path algorithm, turning ethical choice into graph traversal and path-cost optimization. For experienced engineers, the humor is in reducing a messy human decision to an algorithmic routing problem with horrifying edge weights.

Comments

21
Anonymous ★ Top Pick The ethical dilemma gets easier once you assign every casualty an edge weight and pretend the requirements came from product.
  1. Anonymous ★ Top Pick

    The ethical dilemma gets easier once you assign every casualty an edge weight and pretend the requirements came from product.

  2. @ruslan_alive 5y

    Lol

  3. @Four_Velocity 5y

    Let me complicate everything This tram carries organs for puppies for urgent transplantation. so that either he will kill a bunch of people by going along the shortest path in terms of distance, or he will go along the shortest path from the point of view of people on the radishes, but then not all puppies will have time to get their organs

  4. @Artkash 5y

    Gotta catch 'em all! LET'S GO GREEDY

  5. @ruslan_alive 5y

    "Euler's path" -> hilarious

  6. @Four_Velocity 5y

    Yes, but... Are all the puppies get their kidneys?

    1. @Stepan_Poznyak 5y

      Ok...

  7. @Stepan_Poznyak 5y

    Now everyone is dead, everything perfect

    1. @Four_Velocity 5y

      Really perfect solution

  8. @Four_Velocity 5y

    W8

  9. @Four_Velocity 5y

    YOU MISSED ONE

  10. @Stepan_Poznyak 5y

    Ou shit

  11. @Stepan_Poznyak 5y

    Even faster

    1. @bit69tream 5y

      speedrun this

      1. @Stepan_Poznyak 5y

        Ахахахахах, хорошая идея

  12. @Stepan_Poznyak 5y

    Suck, stupid puppies

  13. @Four_Velocity 5y

    I'm satisfied But felling like a piece of sh*t

  14. @Stepan_Poznyak 5y

    Fuck, now one puppie still alive. Really hard problem

  15. @Stepan_Poznyak 5y

    It would be better to wait a scientific solution

  16. @Four_Velocity 5y

    No he isn't The tram was travelling 2 long and he is dead without donor kidney

  17. @Stepan_Poznyak 5y

    Yeaaaaa

Use J and K for navigation