Google interview question

Technical questions, two coding assessments