Pregunta de entrevista de Huawei Technologies

The question about two pointers