SlideShare une entreprise Scribd logo
1  sur  10
LISTA

LINEAL DOBLE
O
DOBLEMENTE ENLAZADA

Estructura de datos II
Definición:

Lista lineal doble es una estructura de datos que puede recorrerse en
ambos sentidos a partir de cualquier nodo, hasta que llega a uno de los
extremos ya que cada nodo tiene dos apuntadores, uno al nodo
siguiente y otro al anterior

Apuntador anterior

Dato

Apuntador siguiente
Características:

No necesitan un nodo especial para acceder a ellas.

●

Pueden recorrerse en ambos sentidos a partir de cualquier nodo, esto
es porque a partir de cualquier nodo.
●

Siempre es posible alcanzar cualquier nodo de la lista, hasta que se
llega a uno de los extremos.
●
Estructura:

NULL

DATO N

SIGUIENTE

ANTERIOR

DATO 3

SIGUIENTE

ANTERIOR

DATO 2

SIGUIENTE

ANTERIOR

DATO 1

SIGUIENTE

ANTERIOR

El nodo inicio tiene un apuntador anterior hacia NULL de la misma manera
el último nodo tiene un apuntador hacia NULL .

NULL
Operaciones básicas:

Puede realizar las mismas operaciones que una lista lineal
simple, dichas operaciones son:
Inserción al inicio

●

Inserción al final

●

Eliminar

●

Recorrer

●
Inserción al inicio

NULL

DATO N

SIGUIENTE

ANTERIOR

SIGUIENTE

ANTERIOR

DATO 3

NULL

Nuevo

SIGUIENTE

ANTERIOR

NULL

DATO 2

SIGUIENTE

DATO 1

ANTERIOR

SIGUIENTE

ANTERIOR

La insercion de un nuevo nodo a la lista, dicha inserción se realiza
En el lado izquierdo de la lista. Como lo muestra la siguiente
figura:

NULL
Inserción al final
La inserción de un nuevo nodo al final de la lista se hace del lado derecho
Por lo que primero se debe hacer un recorrido asta llegar al final de la lista y es
ahí
Donde se hace la inserción

DATO N

SIGUIENTE

ANTERIOR

DATO N

SIGUIENTE

ANTERIOR

DATO 3

aux
SIGUIENTE

DATO 2

ANTERIOR

SIGUIENTE

ANTERIOR

DATO 1

aux

aux
SIGUIENTE

ANTERIOR

Inicio
aux

NULL
NULL

NULL

NUEVO

SIGUIENTE

ANTERIOR

NULL

NULL
Recorrer:
Se recorre la lista nodo a nodo, lo cual nos permitirá que se puedan
hacer distintas actividades:
•Imprimir .
•Buscar.
•Etc.

NULL

DATO N

SIGUIENTE

ANTERIOR

DATO 2

aux
SIGUIENTE

ANTERIOR

DATO 1

aux
SIGUIENTE

ANTERIOR

aux

NULL
Eliminar Nodo:

NULL

DATO N

SIGUIENTE

ANTERIOR

DATO 2

SIGUIENTE

ANTERIOR

DATO 1

SIGUIENTE

ANTERIOR

Se elimina un nodo de la lista, ya sea que lo busque por posición o un valor
específico

NULL
Gracias por su atención
Castillo Reyes Martha Leonor
López García Jessica Paola
Martínez Torres Elizbeth

Contenu connexe

Dernier

Modulo-Mini Cargador.................pdf
Modulo-Mini Cargador.................pdfModulo-Mini Cargador.................pdf
Modulo-Mini Cargador.................pdf
AnnimoUno1
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial Uninove
FagnerLisboa3
 

Dernier (11)

EL CICLO PRÁCTICO DE UN MOTOR DE CUATRO TIEMPOS.pptx
EL CICLO PRÁCTICO DE UN MOTOR DE CUATRO TIEMPOS.pptxEL CICLO PRÁCTICO DE UN MOTOR DE CUATRO TIEMPOS.pptx
EL CICLO PRÁCTICO DE UN MOTOR DE CUATRO TIEMPOS.pptx
 
Innovaciones tecnologicas en el siglo 21
Innovaciones tecnologicas en el siglo 21Innovaciones tecnologicas en el siglo 21
Innovaciones tecnologicas en el siglo 21
 
pruebas unitarias unitarias en java con JUNIT
pruebas unitarias unitarias en java con JUNITpruebas unitarias unitarias en java con JUNIT
pruebas unitarias unitarias en java con JUNIT
 
Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...
Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...
Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...
 
How to use Redis with MuleSoft. A quick start presentation.
How to use Redis with MuleSoft. A quick start presentation.How to use Redis with MuleSoft. A quick start presentation.
How to use Redis with MuleSoft. A quick start presentation.
 
Refrigerador_Inverter_Samsung_Curso_y_Manual_de_Servicio_Español.pdf
Refrigerador_Inverter_Samsung_Curso_y_Manual_de_Servicio_Español.pdfRefrigerador_Inverter_Samsung_Curso_y_Manual_de_Servicio_Español.pdf
Refrigerador_Inverter_Samsung_Curso_y_Manual_de_Servicio_Español.pdf
 
PROYECTO FINAL. Tutorial para publicar en SlideShare.pptx
PROYECTO FINAL. Tutorial para publicar en SlideShare.pptxPROYECTO FINAL. Tutorial para publicar en SlideShare.pptx
PROYECTO FINAL. Tutorial para publicar en SlideShare.pptx
 
Modulo-Mini Cargador.................pdf
Modulo-Mini Cargador.................pdfModulo-Mini Cargador.................pdf
Modulo-Mini Cargador.................pdf
 
Avances tecnológicos del siglo XXI 10-07 eyvana
Avances tecnológicos del siglo XXI 10-07 eyvanaAvances tecnológicos del siglo XXI 10-07 eyvana
Avances tecnológicos del siglo XXI 10-07 eyvana
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial Uninove
 
Avances tecnológicos del siglo XXI y ejemplos de estos
Avances tecnológicos del siglo XXI y ejemplos de estosAvances tecnológicos del siglo XXI y ejemplos de estos
Avances tecnológicos del siglo XXI y ejemplos de estos
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

lista lineal doble

  • 2. Definición: Lista lineal doble es una estructura de datos que puede recorrerse en ambos sentidos a partir de cualquier nodo, hasta que llega a uno de los extremos ya que cada nodo tiene dos apuntadores, uno al nodo siguiente y otro al anterior Apuntador anterior Dato Apuntador siguiente
  • 3. Características: No necesitan un nodo especial para acceder a ellas. ● Pueden recorrerse en ambos sentidos a partir de cualquier nodo, esto es porque a partir de cualquier nodo. ● Siempre es posible alcanzar cualquier nodo de la lista, hasta que se llega a uno de los extremos. ●
  • 4. Estructura: NULL DATO N SIGUIENTE ANTERIOR DATO 3 SIGUIENTE ANTERIOR DATO 2 SIGUIENTE ANTERIOR DATO 1 SIGUIENTE ANTERIOR El nodo inicio tiene un apuntador anterior hacia NULL de la misma manera el último nodo tiene un apuntador hacia NULL . NULL
  • 5. Operaciones básicas: Puede realizar las mismas operaciones que una lista lineal simple, dichas operaciones son: Inserción al inicio ● Inserción al final ● Eliminar ● Recorrer ●
  • 6. Inserción al inicio NULL DATO N SIGUIENTE ANTERIOR SIGUIENTE ANTERIOR DATO 3 NULL Nuevo SIGUIENTE ANTERIOR NULL DATO 2 SIGUIENTE DATO 1 ANTERIOR SIGUIENTE ANTERIOR La insercion de un nuevo nodo a la lista, dicha inserción se realiza En el lado izquierdo de la lista. Como lo muestra la siguiente figura: NULL
  • 7. Inserción al final La inserción de un nuevo nodo al final de la lista se hace del lado derecho Por lo que primero se debe hacer un recorrido asta llegar al final de la lista y es ahí Donde se hace la inserción DATO N SIGUIENTE ANTERIOR DATO N SIGUIENTE ANTERIOR DATO 3 aux SIGUIENTE DATO 2 ANTERIOR SIGUIENTE ANTERIOR DATO 1 aux aux SIGUIENTE ANTERIOR Inicio aux NULL NULL NULL NUEVO SIGUIENTE ANTERIOR NULL NULL
  • 8. Recorrer: Se recorre la lista nodo a nodo, lo cual nos permitirá que se puedan hacer distintas actividades: •Imprimir . •Buscar. •Etc. NULL DATO N SIGUIENTE ANTERIOR DATO 2 aux SIGUIENTE ANTERIOR DATO 1 aux SIGUIENTE ANTERIOR aux NULL
  • 9. Eliminar Nodo: NULL DATO N SIGUIENTE ANTERIOR DATO 2 SIGUIENTE ANTERIOR DATO 1 SIGUIENTE ANTERIOR Se elimina un nodo de la lista, ya sea que lo busque por posición o un valor específico NULL
  • 10. Gracias por su atención Castillo Reyes Martha Leonor López García Jessica Paola Martínez Torres Elizbeth