Morgan Stanley interview question

Implementation of Linked list