Divami Interview Question

Javascript react programming problem solving, web