8 views4 pages
28 Feb 2023
Department
Course
Professor

Document Summary

2. 1 introduction to linked list | need of linked list. Memory is very crucial data source in our system we do n"t have unlimited memory in a computer system ne so it is a responsibility of a memory manager to manage this resource. Memory is not free the memory manager can not allocate this free memory to another variable but this programmer is not using that memory so this is what the wastage of memory is there. Linked lists is also a collection of elements and arrays were also a collections of elements. Link to link into this node for that new node inserted but in array we can not do this because in array drobik is what all the value should be in consecutive locations. If you know this this this address 1 0 2 if you know the value of this head this pointer they can then you can easily reverse this linked list ne.