Website Summary Files Commits Branches @commit @diff @stats
path: root / Seminar05 / src
Commit message (Collapse)AuthorAgeLinesSHA
* suggest changes
 Hristo Partenov Unverified
2024-11-21-3/+79c60ee9
| | | In the remove_after function, I added a check if (!it.currentElementPtr->next) because if we have a list with two elements and move an iterator to the end of the list, it will try to access to_delete->next, which would result in an error. This check also handles the case when the size is equal to 1. In the insert_after function, if we insert after the tail and then try to push_back another element, we might lose data. Therefore, if itNode == _tail, we should update _tail to point to the new node.
* Add Seminar05
 Stoycho Kyosev
2024-11-12-0/+1688ad40e20