As per above-shown illustration, the following are the important points to be considered.
- LinkedList contains a link element called first.
- Each Link carries a data field(s) and a Link Field called next.
- Each Link is linked with its next link using its next link.
- The last Link carries a Link as null to mark the end of the list.
Published on 27-Jun-2018 12:42:09