The algorithm doesn't necessarily work per individual video, but there's an overarching algo tied to your channel.
As your channel history grows and your audience expands, there will be different times and based on different factors when some videos might perform better than others. After you have a wide testbed and have put out enough videos, there will be a style of video that youtube may favor more than others.
When you find out what it is that converts best for you, keep making those types of videos to keep growing.