Google Interview Question

Only two coding questions, no ML question or behaviour