Capgemini interview question

questions related to array stacks