PurpleTalk interview question

Stack implementation using Linked List