Domanda di colloquio di Unacademy

How diffing algorithm works in react?