Sciometrix interview question

Normal React and JS related