In Linked List extra pointer is required to store the address of head node of the array. In case of array, the name does not take physical memory like pointers.
Next: Locality of reference …
In Linked List extra pointer is required to store the address of head node of the array. In case of array, the name does not take physical memory like pointers.
Next: Locality of reference …
why we can not use binary search in linked list even it is sorted,what is main reason behind this fact?