I think it is not good to include current position in linkedlist.So it is better to have a class call iterator so a linkedlist can be share by multthreads which use a same linkedlist
and the threads can insert or delete node in difference position of the linkedlist
This post has been archived. It cannot be replied.
Page address has been copied.
To share, click to copy page address.
Share Online by QR Code
Back To Topic:
Back To Forum: