Ingenico interview question

Write a linked list function.