Pergunta de entrevista da empresa ByteDance

They asked a front-end JavaScript question along with mediums and hards for backend