What is the importance of a counter in a linked list? what would happen if one left the counter out of the linked list?
georger55 0 Newbie Poster
Recommended Answers
Jump to PostIt makes the sorting, searching, manipulating a list a lot easier
like implementing binary search trees, AVL, heaps, graphs, search algorithms.
Jump to Postwhat would happen if there was no counter though? would the linked list still perform normally?
well javawise theres a class given that does the counter for you.
But if you want to do it manually (like in C, etc.) the data in each structure acts as the …
All 5 Replies
zeroliken 79 Nearly a Posting Virtuoso
georger55 0 Newbie Poster
zeroliken 79 Nearly a Posting Virtuoso
georger55 0 Newbie Poster
zeroliken 79 Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.