Pregunta de entrevista de ByteDance

questions based on probability, stats and coding