Adding an element to the beginning of the list
Adding an element to the end of the list (what are things to consider for arrays?)
Adding an element to the middle of the list
Deleting an element from the end of the list
Deleting an element from the middle of the list
Deleting an element from the beginning of the list
Answers:
Finding an element in the list
Answers:
Accessing the 5th element of the list (assuming there are at least 5 elements)
What are some of the disadvantages of arrays?
If an array is full, adding becomes more inefficient vs Linked Lists because a new array needs to be created and all the previous elements need to be copied over.
What are some ideas you have for improving upon these disadvantages?
You can use a Circular array.
What are some of the disadvantages of linked lists?
Accessing elements is inefficient compared to Arrays because you need to loop through all elements.
What are some ideas you have for improving upon these disadvantages?