PwC interview question

First round basic react questions. Second round live coding