Even Semester Full Summary

Nama: Aisyah Amalia NIM: 2301904370 Kelas: CB01-CL Hari: June 10th, 2020 Lecturer: Ferdinand Ariandy Luwinda (D4522), Henry Chong (D4460) First Part of Even Semester For the first meeting, I've learned about LINKED LIST. So what is linked list? Linked list is a dynamic data structure, where each element is a separate object. If in array we can easily access the elements in it by the index--because it stores the value in a consecutive memory location, in linked list we can’t do that because in linked list it uses random memory location. Now if you think “Then, isn't array better than?” well in array you can’t easily do insertions and deletions, but in linked list you can easily do push(for insertion) or pop(for deletion). Other than that, if in array you have to give a fixed memory to use in your program, in linked list the number of nodes is not fixed and can grow or shrink on demand, hence it’s called a dynamic data structure. This feature is very use...