Google Interview Question

Not too difficult online assessment.