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 79 of 209IvanK_net8 years ago#I like the method of building a binary heap "from the bottom". The elegant part is to see, that it is done in linear time :)I also like "greedy" (Matroid) algorithms and Huffman trees :)
Ask HN: What's your favorite elegant/beautiful algorithm?733 pointsby algobuddy (on Hacker News)8 years ago
IvanK_net8 years ago#I like the method of building a binary heap "from the bottom". The elegant part is to see, that it is done in linear time :)I also like "greedy" (Matroid) algorithms and Huffman trees :)
Comments (491) 209 threads
Show all comments
Showing thread 79 of 209
I also like "greedy" (Matroid) algorithms and Huffman trees :)