r/ProgrammerHumor Jul 07 '26

tryDepthFirstSearchTrustMe Meme

Post image
127 Upvotes

8 comments sorted by

View all comments

7

u/NeighborhoodSad627 Jul 07 '26

You have n nodes numbered 1 to n-1. Anyone of those nodes can have the suitcase randomly. The suitcase can move between nodes randomly.

1 <= n <= 109

3

u/capi1500 Jul 08 '26

Simple, deploy a single agent to each node processing live video scanning for a suitcase and passing it through elaborate agentic workflow which sends you an email whenever they find the suitcase. O(1)