Back to front pageView on Hacker News (opens in a new tab)Ask HN: What's your favorite elegant/beautiful algorithm?733 pointsby algobuddy (on Hacker News)8 years agoComments (491) 209 threadsShow all commentsShowing thread 118 of 209layog8 years ago#Euclidean method to calculate GCD using visualization [1]Kosaraju two pass algorithm, this one blew me over when I first read it and I am still impressed by the ingenuity of this algorithm [2][1] - https://www.youtube.com/watch?v=kiFfp-HAu64&t=326[2] - https://en.wikipedia.org/wiki/Kosaraju%27s_algorithm
Ask HN: What's your favorite elegant/beautiful algorithm?733 pointsby algobuddy (on Hacker News)8 years ago
layog8 years ago#Euclidean method to calculate GCD using visualization [1]Kosaraju two pass algorithm, this one blew me over when I first read it and I am still impressed by the ingenuity of this algorithm [2][1] - https://www.youtube.com/watch?v=kiFfp-HAu64&t=326[2] - https://en.wikipedia.org/wiki/Kosaraju%27s_algorithm
Comments (491) 209 threads
Show all comments
Showing thread 118 of 209
Kosaraju two pass algorithm, this one blew me over when I first read it and I am still impressed by the ingenuity of this algorithm [2]
[1] - https://www.youtube.com/watch?v=kiFfp-HAu64&t=326
[2] - https://en.wikipedia.org/wiki/Kosaraju%27s_algorithm