Answer :
An algorithm is itself a general step-by-step solution of your problem. ... The most important point here is that you must use algorithms to solve problem, one way or the other. Most of the time it's better to think about your problem before you jump to coding - this phase is often called design.