Write a program to implement a singly linked list
Source: GeeksForGeeks
A linked list is a linear data structure, in which the elements are not stored at contiguous memory locations. The elements in a linked list are linked using pointers
- Dynamic size
- Ease of insertion/deletion
- A middle element can't be accessed directly, only traversal is possible
- Extra memory space for a pointer is required with each element of the list
Try to implement a singly linked list.
// To Be Added