Rattle interview question

Solve data structure question. Had to use linked list