An algorithm is a fancy-sounding word for something simple: It's a step-by-step way to solve a problem with code.