Skip to content

What is an Algorithm?

A warm Hello to all the readers!

If you are from computer science background or pursuing computer science jobs, IT jobs, then you must have heard at some point of the word “Algorithm”.

Let’s understand in easy and simple terms as to what is an algorithm. In simple terms, we define computer algorithm as “A series of steps to solve a problem” or “A set of rules to solve a problem”.

Examples of Algorithm

Let’s take an example to clear it further. Suppose we want to verify whether user logging to a website is valid. Algorithm will be:

  • User inputs his username and password
  • Server checks the combination in database
  • User accesses account or not based on above check

If you are interested to go deep in the history of algorithms, then refer to Wikipedia page.