Google interview question

Very basic algorithm questions