Pergunta de entrevista da empresa Unacademy

How diffing algorithm works in react?