Jacobs interview question

Working in groups,