Erasmith interview question

JavaScript , react , dsa