Struktur Data : Pertemuan 3
Struktur Data P3 : Array dan Senarai Berantai Bagian 2
Pulla Pandika Widodo |
Senin, 31 Desember 2018 - 16:30:09 WIB
| dibaca: 57289 pembaca
Senarai Berantai
Senarai
Berantai adalah Kumpulan komponen
yang disusun secara b
erurutan dengan
bantuan pointer. Masing-masing komponen dinamakan dengan simpul/node.
Simpul / node dalam senarai berantai terbagi menjadi 2 bagian :
- Bagian
pertama disebut medan pertama disebut medan informasi, berisi informasi
yang
akan disimpan dan diolah.
- Bagian kedua disebut medan penyambung (link
field) yang berisi alamat simpul berikutnya.
Penyajian Senarai Berantai
Meskipun simpul dalam senarai berantai secara
skematis digambarkan secara berurutan,
tetapi dalam pengingat utama sinyal-sinyal yang
berurutan tidak harus terletak secara
berurutan.
Keterangan :
Awal = 2, maka info[2] = ‘A’
Sambungan[2] = 5, maka info[5] =
‘B’
Sambungan[5] = 1, maka info[1] =
‘C’
Sambungan[1] = 4, maka info[4] =
‘D’
Sambungan[4] = 8, maka info[8] =
‘E’
Sambungan[8] = 0, akhir senarai berantai
Komentar Via Website : 2412
26 Januari 2023 - 00:03:32 WIB Anecdotal evidence with high dose estrogen appeared to show success, but serious side effects have discouraged use <a href=http://zithromax.top>azithromycin fast cheap delivery</a>
26 Januari 2023 - 01:14:58 WIB Grant JS, Stafylis C, Celum C, Grennan T, Haire B, Kaldor J, Luetkemeyer AF, Saunders JM, Molina JM, Klausner JD <a href=http://stromectol.skin>stromectol reviews</a> Psychopharmacology Berl 2009; 207 3 423 431
26 Januari 2023 - 12:34:21 WIB <a href=http://lasix.buzz>is furosemide lasix</a> So the trail goes up some more
26 Januari 2023 - 13:30:22 WIB At 16th week, all rats were sacrificed <a href=https://cialis.hair>cialis online prescription</a>
26 Januari 2023 - 18:23:50 WIB <a href=https://lasix.buzz>lasix purchase</a> Administer bronchodilator therapy such as a short acting inhaled ОІ agonist and or aminophylline
26 Januari 2023 - 20:34:59 WIB <a href=http://nolvadex.hair>buy tamoxifen citrate online</a> Toxicity of synthetic compounds to shrimp larvae
25 Januari 2023 - 04:12:50 WIB in intensive care unit of a Tertiary Care Hospital, Varanasi, India <a href=http://aviagra.best>dog eats viagra</a>
25 Januari 2023 - 04:51:27 WIB Obstet Gynecol 2009; 113 1268 1271 <a href=http://accutane.buzz>accutane prescription</a> Monitor Closely 1 fluvoxamine will increase the level or effect of zonisamide by affecting hepatic intestinal enzyme CYP3A4 metabolism
25 Januari 2023 - 07:12:04 WIB BMI, age, breast density, and polygenic risk score, compared to annual screening for breast cancer, which will be determined through the number of biopsies performed and measurement of participant morbidity <a href=https://zithromax.top>cheap valtrex pills 3 day delivery</a>
25 Januari 2023 - 19:44:10 WIB 9 within 1 year after diagnosis, and 27 <a href=http://brandviagra.top>viagra and dementia</a> Patel, MD is a chief resident in psychiatry from Dallas, TX, working with the ABC News Medical Unit