Life gives us many problems along the way. The problems
might be analytical, logical or of other kinds. But we always try to solve
those problems to move forward. As we successfully solve the problems some
question arise as, “Is it the best solution?”, “Are there any other ways to
solve the problem?” or like “Can the problem be solved with less time?” and to
answer those questions algorithm comes in. Algorithm is a specific and logical
procedure to be followed in order to achieve specific results, or to solve a
math problem. By figuring an algorithm we can also figure out the time and size of
a particular solution. The solution that takes less time or more like to say
has the best complexity is considered as the best algorithm of that problem. Computational
resources is really important for good algorithm. If we have to give an example
we can say that, a computer scientist usually like to express algorithms as BIG
OH NOTATION(one of the three asymptotic notation). Because when we know the
worst case we can aim to develop or improve it and also avoid it.