What is an algorithym?

It is a method of doing some particular thing.

in Psychology, it describes solving problem in a step by step procedure that guarantees a result. The opposite of algorithym is heuristic.