OpenText interview question

implement linked list