Mapa mental
linked lists
Conteúdo do mapa
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
Informações
- Descrição
- Mapa Mental sobre linked lists, criado por wrenbradley em 03-11-2014.
- Criado por
- wrenbradley
- Visualizações
- 8
- Avaliação