r/compsci • u/TopcatTomki • Aug 14 '13
Algorithims Everyone Should Know?
What are some of you're favourite algoritms or concepts that you think everyone should know, whether they solve problems that crop up frequently, or are just beautiful in their construction?
379
Upvotes
View all comments
Show parent comment
5
u/asimian Aug 14 '13
That's more of novelty than something that is actually useful IMHO. Using a temporary will be faster.