Question: Let us say each pointer occupies 4 bytes and data in each node occupies 10 bytes.
Compute the memory required by array and linked list to store exactly 10 nodes. Note that the linked list requires head pointer too.
Can you find how much additional bytes are consumed by the linked list?