Can YOU solve this frontend interview question?