JBS International interview question

it was a group work