Which youtube algorithm does it use to rank search results?

Does YouTube use the length of the longest common substequence between the search query and the video titles to rank the search results?

I was trying to search for "Lionel Messi's Top 10 Goals" by omitting a few letters. For example, if I try "loel mesi tp 10 gls", this gives similar search results.

Which makes me think that YouTube uses a version of LCS to rank the search results, if it ranks only on the basis of the title of the video, keeping the side views, preferences, etc.