Google interview question

The 3rd coding quiz round