Icon New game New game

Secuencias enlazadas operaciones

Fill in the Blanks

Secuencias enlazadas operaciones

Download the paper version to play

0 times made

Created by

Spain

Top 10 results

There are still no results for this game. Be the first to stay in the ranking! to identify yourself.
Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

  1. time
    score
  1. time
    score
time
score
time
score
 
game-icon

Fill in the Blanks

Secuencias enlazadas operacionesOnline version

Secuencias enlazadas operaciones

by María Dolores 1 Lage Veiga
1

Eliminar DEFINICIÓN Node final while Insertar CLASE _next not secuencia MIA NODE def comienzo None Node _next secuencia secuencia temp newest newest __init__ Insertar final LAX

DE LA
class Node :
- - - - - - - - - - ( self , element ) :
- - - - - - - - - - - - self . _element = element
- - - - - - - - - - - - self . _next = None


por el de la ( no vacía )
= ( )
newest . _next = head
head = newest





por el de la ( no vacía )
= ( )
tail . _next = newest
tail = newest
Eliminar por el comienzo de la secuencia
head = head . _next







por el de la
Si solo hay un elemento : head = None
Si hay más de un elemento , hay que recorrer la secuencia para encontrar el penúltimo y poder " desenganchar " el último :
temp = head
. . is :
- - - - - - - - - - - - - - - - temp = temp . _next
temp . _next = None

educaplay suscripción