Mindmap
linked lists
Inhalt der Mindmap
linked lists
composed of nodes
- structs
- one element is a pointer to the next node
- contains the data types you want
- structs
saved in the heap
- dynamic memory
- mailoc
- free
- dynamic memory
variable size
- change in real time
Always started by a "head" pointer
- first thing you always do is declare and initialize "head"pointer
singly linked
- one-way pointing
- once you go forward you can't go back UNLESS you keep track of location of previous nodes
- one-way pointing
End of list always represented by NULL
- Begin by initializing pointers to NULL
Informationen
- Beschreibung
- Mindmap am linked lists, erstellt von wrenbradley am 03/11/2014.
- Erstellt von
- wrenbradley
- Aufrufe
- 8
- Bewertung