Goldman Sachs Interview Question

Design a linked list and add an element to the last element