Re:Ask HN: What's your favorite elegant/beautiful algorithm?
by DonaldPShimoda on Wednesday October 17, 2018 @02:20PM
(#18241967)
> I know it's just one form of brute force algorithm, maybe doesn't even count as one, and is not that elegant, but, it will always remain my favorite.
Backtracking is really a depth-first search over the search tree, so it's definitely an algorithm and I would say it's "elegant" in some sense (like simplicity).
Backtracking is really a depth-first search over the search tree, so it's definitely an algorithm and I would say it's "elegant" in some sense (like simplicity).