Algorithms are functions that are used to solve a class of problems. Really any piece of code can be a algorithm! There are common algorithm implementat...