03/03/2013
Estructura de datos
TDA Colas
Juan Jess Gutirrez Garca
Informal
LIFO, FIFO (Last input first output, First input first output)
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
10
03/03/2013
Insertar
p
ant aux
10
11
12
13
14
Insertar
p
ant aux
10
11
12
13
14
11
03/03/2013
Un solo nodo
El caso de que slo hay un dato en la cola
Insertar
p
ant aux
10
12
03/03/2013
Insertar
p
ant aux
10
Insertar
p
ant aux
10
13
03/03/2013
Insertar
p
ant aux
10
Insertar
p
ant aux
10
14
03/03/2013
Insertar
p
ant aux
10
Con dos elementos
p
ant aux
10
11
15
03/03/2013
Con dos elementos
p
ant aux
10
11
Con dos elementos
p
ant aux
10
11
16
03/03/2013
Con dos elementos
p
ant aux
10
11
Con dos elementos
p
ant aux
10
11
17
03/03/2013
Con dos elementos
p
ant aux
10
11
Con dos elementos
p
ant aux
10
11
18
03/03/2013
Con dos elementos
p
ant aux
10
11
Con dos elementos
p
ant aux
10
11
19
03/03/2013
Con dos elementos
p
ant aux
10
11
Cdigo completo
Diferencias?
20
03/03/2013
Preguntas
Alguna pregunta?
21