Pergunta de entrevista da empresa ByteDance

both rounds are some technical quiz and easy coding question