An algorithm is a set of rules used to calculate the answer to a problem. Algorithms power many computer programs. Algorithms are used to curate and tailor content on social media sites, mobile phones, and search engines based on the particular user.  Algorithms are important in marketing as marketers are constantly trying to optimize their content, advertisements, and webpages for the algorithm to present them as often as possible to as many users as possible.