What is the algorithm in people? An algorithm can be understood as a sequence of well-defined finite steps that solve a problem. For example, the execution of everyday tasks as simple as brushing your teeth, washing your hands or following the instructions manual for assembling a piece of furniture can be seen as an algorithm.
Discussion
Interactions that effectively create engagement is a heuristic algorithm.
Bad or off putting behavior would be a negative one.