Deutsche Bank interview question

Q. Code for stack using array and linked list