Worked on linked list.