Pregunta de entrevista de Huawei Technologies

questions from recursion, DP and stack and queue