Pregunta de entrevista de PwC

First round basic react questions. Second round live coding