The Google algorithm is a set of rules that the search engine uses to determine which websites are ranked higher than others in its search results.
The specifications for this algorithm are secret, and changes to it happen frequently. As a result, there is no way to know exactly how any given search will be ranked.