Day 16 Recap Questions
- Describe the linked list structure by a diagram.
- Compare arrays and linked lists. Write down their pros and cons.
- What is a linked list’s head? How is it different from a node? Explain.
- How do you calculate
length
of a linked list? - How do you implement
add_after
on a singly linked list?