Brillio Interview Question

React JS