data structure (linked list)

Post on 20-Mar-2017

58 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Linked List (2)

Adam M.B.

SEARCHING

Searching on linked list use

sequential search. Bantu pointer

will help searching process.

Description

Ilustration of Searching

bantu

2

akhir

5

awal

43

For example, we search 2 in linked list

below.

SORTING

Ilustration of SortingSort the linked list below use minimum sort ascendingawal

2 54akhir

3Tahap I :

awal54

akhirMin J Min J JI

3232

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:

DESTROY

Ilustration of Destroy

Delete elements of linked list one by

one.awal4 5

akhir32

phapus

awal

awalawal

phapusakhi

r

phapus

Contact Person:Adam Mukharil Bachtiar

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

Email: adfbipotter@gmail.comBlog: http://adfbipotter.wordpress.com

Copyright © Adam Mukharil Bachtiar 2012

GRACIASTHANK YOU

top related