Once upon a time (20+ years ago), the top results on a search engine would be the websites that included your search terms the most times. So if you searched for “reddit”, a website that had the text “reddit reddit reddit reddit” etc. and nothing else would be ranked pretty high.
Then things got a bit more sophisticated, and other factors were included, such as how many times *other* websites links to the ones in your search results. This means that sites like Wikipedia get a high ranking, since they’re referenced a lot.
Other factors have been added with time, but that’s pretty much the gist of it, and the first algorithm Google used was called [PageRank](https://en.wikipedia.org/wiki/PageRank).
Latest Answers