Lumenalta Interview Question

To solve a react code challenge