BrainRocket Interview Question

Describe the React reconciliation algorithm