Pergunta de entrevista da empresa ByteDance

Basic question regarding to the tesitng knowledge