cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
How to remove the 'k' number of elements
How to remove the 'k' number of elements in a linked list.
Sep 19, 2018 at 12:32am UTC
philip1999
(36)
How to remove the 'k' number of elements in a linked list.
I search the many sites on the internet but found nothing.
Can anyone please give the link to the site or please explain how to remove 'k' elements from a list.
Sep 19, 2018 at 2:19am UTC
jonnin
(11458)
probably because it doesn't make sense as a stand alone question.
delete from the top? Bottom? Random? Is there a purpose to it? Do you know the list size? Do to keep deleted nodes to put back on later (memory management) or just kill them?
Topic archived. No new replies allowed.