Google Algorithm takes every necessary step for you via seeking out Web pages that contain the watchwords you used to look, at that point allotting a rank to each page.
Google algorithm works for all the variation of sites in which that can track the spammers and punish them by down their ranking in SERP or also block if find the huge default in its policy.
Well I personally believe that Google does not use single algorithm, they are using 100s of algorithm. Mainly the whole package is named by Google and they give guidelines for that.
Google uses the same logarithms as anyone else. In case you actually mean algorithm, and are referring to Google search, their algorithm is very complicated and secret. If it were known, spammers would take advantage of it to figure out some way to be at the top of the search results.
In February 2011, the first search filter that was part of the Panda update was rolled out. It's basically a content quality filter that was targeted at poor quality and thin sites with little SEO power in order to prevent them from ranking well in Google's top search engine results pages (SERPs).
Primarily, Google is centered around enhancing its web search administrations for online users, and by keeping track of changes in Google's Algorithm updates, marketers can increase the ranking of their sites. Google has a long history of great SEO algorithm updates that channelize ranking mechanism of SERPs.