As you all know from the previous lesson, single linked list only have a tail that points towards the next data. Now for example you want to make a MP3 player that could play all the songs and repeat it again as soon as it finishes its last song. Some of you may think that using a single linked list isn't possible here. But there is a trick to it in order for you to recall the first data from the last data. And to do that, we are going to make a special single linked list called the Circular Linked List!
Circular Singly Linked List |