ByteDance interview question

Basic question regarding to the tesitng knowledge