Bounteous x Accolite interview question

javascript and react normal questions