Pregunta de entrevista de MetLife

Flatten an array using JavaScript, Virtual DOM , and Reconciliation in React