Quote:
OK, so my next question would be: would implementing the linked list without this encapsulation(the 'node' struct) be less efficient in terms of memory usage or even performance?
I think that it depends on the implementation. Logically, there would be very little difference, since it is not a matter of doing away with the node struct, but doing away with the linked list class as a container. Your suggestion is not "instead of creating new 'nodes' you would create new 'myLinkedListClasses'", but "instead of creating a linked list object you would create new 'nodes'".