- If fix element is required for an operation then link list is not a good option because it’s consumed more memory to manage the dynamic address for the list.
- Random traversal is not possible in link list due to dynamic memory allocation which is unpredictable and scarred in memory.
- Reverse traversing is not possible in a single link list because only the next pointer is used to point next element.
- Manual delete is required because link list uses memory in heap section.
- Infinite traversal occurred in a circular list if not handled properly.
- More Time and memory required compare to array.
Monday, 13 July 2020
Link List Disadvantage
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment