Presentation is loading. Please wait.

Presentation is loading. Please wait.

Linked List (2) Adam M.B..

Similar presentations


Presentation on theme: "Linked List (2) Adam M.B.."— Presentation transcript:

1 Linked List (2) Adam M.B.

2  SEARCHING

3 Description Searching on linked list use sequential search. Bantu pointer will help searching process.

4 Ilustration of Searching
For example, we search 2 in linked list below. awal 4 3 bantu 2 akhir 5

5  SORTING

6 Ilustration of Sorting
Sort the linked list below use minimum sort ascending awal 2 5 4 akhir 3 Tahap I : I J J awal 5 4 akhir Min J Min 2 3 2 3

7 Ilustration of Sorting (2)
Step II: I J J awal 5 akhir 2 Min J Min 4 3 4 3 Step III: J J awal 5 akhir 2 I Min 3 4 Data have sorted well in ascending ways: awal 5 akhir 2 3 4

8  DESTROY

9 Ilustration of Destroy
Delete elements of linked list one by one. awal awal phapus awal phapus akhir 2 3 phapus 4 5 awal akhir

10 GRACIAS THANK YOU Copyright © Adam Mukharil Bachtiar 2012
Contact Person: Adam Mukharil Bachtiar Informatics Engineering UNIKOM Jalan Dipati Ukur Nomor Bandung 40132 Blog: Copyright © Adam Mukharil Bachtiar 2012


Download ppt "Linked List (2) Adam M.B.."

Similar presentations


Ads by Google