Google interview question

A few high-level algorithms and implementations