Google interview question

Trees, sorting, and distributed systems.