0% found this document useful (0 votes)
21 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
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 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
We take content rights seriously. If you suspect this is your content, claim it here.
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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy