data structure (linked list)

10
Linked List (2) Adam M.B.

Upload: adam-mukharil-bachtiar

Post on 20-Mar-2017

58 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Data Structure (Linked List)

Linked List (2)

Adam M.B.

Page 2: Data Structure (Linked List)

SEARCHING

Page 3: Data Structure (Linked List)

Searching on linked list use

sequential search. Bantu pointer

will help searching process.

Description

Page 4: Data Structure (Linked List)

Ilustration of Searching

bantu

2

akhir

5

awal

43

For example, we search 2 in linked list

below.

Page 5: Data Structure (Linked List)

SORTING

Page 6: Data Structure (Linked List)

Ilustration of SortingSort the linked list below use minimum sort ascendingawal

2 54akhir

3Tahap I :

awal54

akhirMin J Min J JI

3232

Page 7: Data Structure (Linked List)

Ilustration of Sorting (2)Step II:

Min

J Min J JIawal5

akhir2 4 343

Step III:Min J JIawal

5akhir

2 43

awal5

akhir2 43

Data have sorted well in ascending ways:

Page 8: Data Structure (Linked List)

DESTROY

Page 9: Data Structure (Linked List)

Ilustration of Destroy

Delete elements of linked list one by

one.awal4 5

akhir32

phapus

awal

awalawal

phapusakhi

r

phapus

Page 10: Data Structure (Linked List)

Contact Person:Adam Mukharil Bachtiar

Informatics Engineering UNIKOMJalan Dipati Ukur Nomor. 112-114 Bandung 40132

Email: [email protected]: http://adfbipotter.wordpress.com

Copyright © Adam Mukharil Bachtiar 2012

GRACIASTHANK YOU