Oracle interview question

stack implementation from linked list