reset password
Author Message
Arnav98
Posts: 48
Posted 22:57 Mar 15, 2018 |

For HW3, for the methods deleteFirst and deleteLast, if the size of the main list is 1, should the methods delete the node along with the sublist since there is no other node to attach the sublist to or should we just delete the top node and keep the remaining ones by replacing the head pointer?

kknaur
Posts: 540
Posted 08:05 Mar 16, 2018 |

" This method shall NOT delete any nodes in the first Node's sublist.  The remaining Nodes in the sublist should be "reattached" to the beginning of the main list. "