YouTube algorithm is a complex system that determines the order in which videos are recommended to viewers. The algorithm takes into account a variety of factors to determine which videos are likely to be of interest to a particular viewer. Some of the key factors include: Watch history: YouTube uses.