Worked on linked lists