Inserting a new element at head of a Linked List
In this video, were going to continue our discussion over linked list. In this video, we are going to look at recap of previous lecture and then were going to talk about how to insert an element in the linked list. In this lecture, we implemented codes to insert elements at the end and at the beginning. Each element in a linked list consists of two parts: Data: This part stores the data value of the node. That is the information to be stored at the current node. Next Pointer: This is the pointer variable or any other variable which stores the address of the next node in the memory. In this video, youll also learn about asymptotic notations, they are basically mathematical notations which represent order of growth of any mathematical function. There are three famous notations which. .., ProgrammingKnowledge, DataStructuresAndAlgorithms, DataStructures, algorithm, Algorithms, AlgorithmsTutorial, DataStructuresTutorial, Arrays, Strings, Stacks 20220615 vT814XaAJws
|