Pergunta de entrevista da empresa PwC

First round basic react questions. Second round live coding