Saviynt interview question

React coding questions based on mapping array of objects