null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
2414205
Linked Lists WedW15
Description
A quick mind map summarizing the ideas associated with linked lists that is progressively adapted as the course continues.
No tags specified
c programming
linked lists
sysc 2006
carleton university
Mind Map by
Kunall Banerjee
, updated more than 1 year ago
More
Less
Created by
Madeline Harlow
over 9 years ago
Copied by
Kunall Banerjee
over 9 years ago
10
0
0
Resource summary
Linked Lists WedW15
Composed of nodes
Nodes contain data
Nodes contain pointer to nxt node
typedef struct node{ int data; struct node * next;}NODE;
Saved in the heap
NODE* p = malloc(sizeof(NODE));
free(p);
assert(p!=NULL);
add nodes
add to front
newNode->next= head; head = newNode;
add to back
add to middle
delete nodes
delete front
delete middle
delete last
delete all
delete Nth node
traverse a list
modify/set values
append (see add node)
counting nodes (length)
search for value
sum, average, math
# of occurances
Always starts with head
head == NULL the list is empty
head != NULL list is occupied
Always end with NULL
if(p->next == NULL) p is point to the last node (p is tail)
found the end of the list (see append)
if(p == NULL)
traverse through whole list
Show full summary
Hide full summary
Want to create your own
Mind Maps
for
free
with GoConqr?
Learn more
.
Similar
Linked Lists WedW15
Neyavanan v
Linked Lists WedW15
Neyavanan v
Linked Lists WedW15
Neyavanan v
Programming in C MindMap
Tejas Rao
MIND MAP 1
vsolakis
C programming # 001
satya.panda
AS Psychology Unit 1 - Memory
Asterisked
Cells and the Immune System
Eleanor H
TItrations (how to do the experiment) (concentrations)
janey.efen
I always Feel Tired
Fatma Shwaylia
Mapa Mental para Resumir y Conectar Ideas
Rosario Sharline Vilcarromero Saenz
Browse Library