Slack interview question

about the angular and react problems