Kanini interview question

React basics , arrays and code