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 177 of 209Fazel948 years ago#KMP algorithm for finding M patterns in one text in time O(M+len(Text)).
Ask HN: What's your favorite elegant/beautiful algorithm?733 pointsby algobuddy (on Hacker News)8 years ago
Comments (491) 209 threads
Show all comments
Showing thread 177 of 209