Solution Reactjs Interview