0% found this document useful (0 votes)
19 views

GSLC Data Structure Double Linked List

The document describes operations performed on a double linked list. It begins with inserting student ID numbers sequentially from 2301883271 to form the initial list. It then demonstrates inserting nodes alternately at the front and back of the list. Finally, it shows deleting nodes from the front, back, and by student ID number in the list. The operations are displayed through changing the visual representation of the null-node connected list.

Uploaded by

Kelvin Ferdinand
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

GSLC Data Structure Double Linked List

The document describes operations performed on a double linked list. It begins with inserting student ID numbers sequentially from 2301883271 to form the initial list. It then demonstrates inserting nodes alternately at the front and back of the list. Finally, it shows deleting nodes from the front, back, and by student ID number in the list. The operations are displayed through changing the visual representation of the null-node connected list.

Uploaded by

Kelvin Ferdinand
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Nama: Kelvin Ferdinand

NIM: 2301883271
Class: LA46
GSLC DOUBLE LINKED LIST

1. Masukkan node NIM secara berurutan

Null 2 3 0 1 8 8 3 2 7 1 Null

2. Lakukan insert bergantian di depan head dan dibelakang tail linked list

Null 2 Null

Head Tail

Null 3 2 Null

Head Tail

Null 3 2 0 Null

Head Tail

Null 1 3 2 0 Null

Head Tail

Null 1 3 2 0 8 Null

Head Tail

Null 8 1 3 2 0 8 Null

Head Tail

Null 8 1 3 2 0 8 3 Null

Head Tail
Null 2 8 1 3 2 0 8 3 Null

Head Tail

Null 2 8 1 3 2 0 8 3 7 Null

Head Tail

Null 1 2 8 1 3 2 0 8 3 7 Null

Head Tail

3. Delete pada bagian depan

Null 4.
1 2 8 1 3 2 0 8 3 7 Null

Head Tail

Null 2 8 1 3 2 0 8 3 7 Null

Head Tail

Delete pada bagian belakang

Null 1 2 8 1 3 2 0 8 3 7 Null

Head Tail

Null 1 2 8 1 3 2 0 8 3 Null

Head Tail
Delete pada angka NIM ke-8 (angka 2)

Null 1 2 8 1 3 2 0 8 3 7 Null

Head Tail

Null 1 8 1 3 2 0 8 3 7 Null

Head Tail

You might also like