Wesser interview question

working as a team