3megawatt Interview Question

Mostly on react