Note - The code examples used in this post are located at my GitHub account - OO Single Linked List
Over the past few posts, we've described and shown the implementation of the three basic linked list operations. Each post covered an operation (searching, insertion and deletion) with code individually detailing how it was performed without interference from the others.
Now that we know about all three operations and how they work, the last thing to do is to combine them all so we can make a properly functioning single linked list.
If you were following through the code examples, you would have noticed that the language chosen for the implementation was Java, so it'd be fitting that we also utilise some OO (Object Orientated) concepts when we combine the operations together.
Over the past few posts, we've described and shown the implementation of the three basic linked list operations. Each post covered an operation (searching, insertion and deletion) with code individually detailing how it was performed without interference from the others.
Now that we know about all three operations and how they work, the last thing to do is to combine them all so we can make a properly functioning single linked list.
If you were following through the code examples, you would have noticed that the language chosen for the implementation was Java, so it'd be fitting that we also utilise some OO (Object Orientated) concepts when we combine the operations together.