Pregunta de entrevista de Amazon

For OA, basic questions that can be solved simply using for loops For VO, things related to stack, pointer, the follow up was reasonable.