Oracle Interview Question

stack implementation from linked list