Hi,
Found this on Medium - reminding me all about linked lists! This is great and extremely elegant. The only problem I see is where we have to reverse the linked list. Reversal itself is pretty simple, but as we start from the initial node, it now points at None and hence you need to keep track of some form of ordering of the nodes themselves
Hi,
Found this on Medium - reminding me all about linked lists! This is great and extremely elegant. The only problem I see is where we have to reverse the linked list. Reversal itself is pretty simple, but as we start from the initial node, it now points at
Noneand hence you need to keep track of some form of ordering of the nodes themselves