The Monte Carlo algorithm is elegant, simple, powerful and useful for a large number of real world applications.
Ask HN: What's the most interesting algorithm?
11–13 of 13 posts
Re: Ask HN: What's the most interesting algorithm?
#12The binary search method is an interesting and simple enough algorithm to teach basic CS skills: http://joaoventura.net/blog/2015/search-algorithms/
Re: Ask HN: What's the most interesting algorithm?
#13Full support to Huffman coding and RSA.
Last year I learnt Ford Fukkerson [0] and Dijkstra [1] Algorithm. Algorithns for graphs are really interesting and have a lot of applications. Fun fact, I learnt these in a transport engineering course, not in a computer science one, and I still use them sometimes in computer science courses.
[0] https://en.m.wikipedia.org/wiki/Ford%E2%80%93Fulkerson_algor... [1] https://en.m.wikipedia.org/wiki/Dijkstra%27s_algorithm