Google interview question

Only two coding questions, no ML question or behaviour