Pregunta de entrevista de Qualcomm

few questions on algorithms