Solved 4: linkedlist