3 ms·
This is interesting. Is it possible to implement a linked list while eliminating the end of the list ‘edge case’, in the fashion of the parent article?
by banku_brougham 8y ago
This is interesting. Is it possible to implement a linked list while eliminating the end of the list ‘edge case’, in the fashion of the parent article?
- pure-awesome 8y agoCreate a "sentinel" node which represents null and also points to itself, perhaps?