Posts

Showing posts from October, 2018

Single linked list with C++

Image
A linked list can be imagined with a sequence of something. In our case, let's think of it as integers. So, if I for example have a list of 6 integers being 12, 8, 3, 2, 6 and 38 we could represent the linked list as. Where the blue boxes are nodes. These nodes can be represented individually as.