Question d’entretien chez DataArt

how would you solve the problem with the optimization React application?