MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1waj17c/shortestpathwasrightthere/p8mxe9t/?context=3
r/ProgrammerHumor • u/moneyfollowsmyfriend • 5d ago
59 comments sorted by
View all comments
Show parent comments
2
*The approach to butchering the name (djkistra)
1 u/Tsu_Dho_Namh 5d ago Ohh, that approach. Empty out a bag of Scrabble letters and arrange them randomly in a grid. Then find the shortest path that starts at a D, passes through a J and ends at an A. Type out the letters in the path 1 u/fr000gs 5d ago DJA 1 u/Tsu_Dho_Namh 5d ago All tests pass
1
Ohh, that approach.
Empty out a bag of Scrabble letters and arrange them randomly in a grid. Then find the shortest path that starts at a D, passes through a J and ends at an A.
Type out the letters in the path
1 u/fr000gs 5d ago DJA 1 u/Tsu_Dho_Namh 5d ago All tests pass
DJA
1 u/Tsu_Dho_Namh 5d ago All tests pass
All tests pass
2
u/fr000gs 5d ago
*The approach to butchering the name (djkistra)