Well obviously your not going to get the full answer here, however Matt Cutts has posted a nice little video as to how Google used to work and currently works (at a very top level) – what else what you would expect?
In it he goes through
- How Google used to work
- Google and crawling
- How Google evaluates content
Much of it isn’t necessarily brain science but its worth a watch all the same.

