pertemuan ke-2 - Single Link List - 2101640795 - Michael Kesta
Single Linked List Single linked list is a sequence of elements in which every element has link to its next element in the sequence . In any single linked list, the individual element is called as "Node" . Every "Node" contains two fields, data and next . The data field is used to store actual value of that node and next field is used to store the address of the next node in the sequence. Example: Operation In a single linked list we perform the following operations... Insertion Deletion Display Before we implement actual operations, first we need to setup empty list. First perform the following steps before implementing actual operations. Step 1: Include all the header files which are used in the program. Step 2: Declare all the user defined functions. Step 3: Define a Node structure with two members data and next Step 4: Define a Node pointer ' head ' and set it to NULL . Step 4: Implemen