954,483 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

The Algorithms That always come in handy

I just wanted to know what famous algorithms that you should have in hand? or be familiar with? or That is always used?

chiiqui
Junior Poster
107 posts since Sep 2011
Reputation Points: 10
Solved Threads: 3
 

Unfortunately, there are so many and could depend on different situation & topic. You may not just keep only one algorithm and discard all others because there could be a situation when one of the others is better than the one you keep.

This question is too broad...

Taywin
Posting Virtuoso
1,727 posts since Apr 2010
Reputation Points: 229
Solved Threads: 239
 

I didn't say discard others, what's not understandable about that? I was asking the usual algorithms that are being used.

chiiqui
Junior Poster
107 posts since Sep 2011
Reputation Points: 10
Solved Threads: 3
 

OK, if not discard, but how about "ignore" instead? If and only if there is one or a couple and you want to be familiar with, what are you going to do with others if you are not going to ignore or discard?

Anyway, the question is still too broad... Be more specific. It is not like there are a couple problems in the world that you can just pick a few famous algorithms to solve these problems...

Taywin
Posting Virtuoso
1,727 posts since Apr 2010
Reputation Points: 229
Solved Threads: 239
 

A general understanding of trees and caching associative operations in their internal nodes will never go out of style.

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
 

All algorithm you need to know are usually already implemented efficiently by the libraries or some other well known vendors. Your job should be to efficiently use them to complete your project and increase your productivity. Of course this doesn't mean you shouldn't know that basic concepts, like sorting, trees, hashing, dynamic programming, greedy programming and possibly linear programming.

firstPerson
Senior Poster
3,923 posts since Dec 2008
Reputation Points: 841
Solved Threads: 608
 
All algorithm you need to know are usually already implemented efficiently by the libraries or some other well known vendors. Your job should be to efficiently use them to complete your project and increase your productivity.

This is completely not true.

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
 
This is completely not true.

For the most part it should be, especially judging from @OP's post, I wouldn't expect him to be doing any problem that hasn't been solved or has a variant of the solution he needs.

firstPerson
Senior Poster
3,923 posts since Dec 2008
Reputation Points: 841
Solved Threads: 608
 
For the most part it should be, especially judging from @OP's post, I wouldn't expect him to be doing any problem that hasn't been solved or has a variant of the solution he needs.

Unless, of course, your expectations were wrong!

Akill10
Posting Pro
575 posts since Sep 2010
Reputation Points: 115
Solved Threads: 80
 

How about "Swap Algorithm"? I think everyone at least used it once in programmer life.

invisal
Posting Pro
562 posts since Mar 2005
Reputation Points: 350
Solved Threads: 64
 

I recommend studying Design Patterns. And Refactoring. This will build skills that you will use constantly.

JeffGrigg
Posting Whiz in Training
218 posts since Aug 2011
Reputation Points: 192
Solved Threads: 28
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: