AIC interview question

Problem solving React Graduation project