Google interview question

Completely technical and problem solving