<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FMI/Data-structures-and-algorithms/Seminar05/src, branch upstream/main</title>
<subtitle>[MIRROR] Data structures course 2024-2025 materials.</subtitle>
<id>https://git.syndamia.com/edu/FMI/Data-structures-and-algorithms/atom/Seminar05/src?h=upstream%2Fmain</id>
<link rel='self' href='https://git.syndamia.com/edu/FMI/Data-structures-and-algorithms/atom/Seminar05/src?h=upstream%2Fmain'/>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/edu/FMI/Data-structures-and-algorithms/'/>
<updated>2024-11-20T22:58:46Z</updated>
<entry>
<title>suggest changes</title>
<updated>2024-11-20T22:58:46Z</updated>
<author>
<name>Hristo Partenov</name>
<email>146854527+ico12319@users.noreply.github.com</email>
</author>
<published>2024-11-20T22:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/edu/FMI/Data-structures-and-algorithms/commit/?id=9c60ee9f795138f85409ca302f5ee61a68746ee1'/>
<id>urn:sha1:9c60ee9f795138f85409ca302f5ee61a68746ee1</id>
<content type='text'>
In the remove_after function, I added a check if (!it.currentElementPtr-&gt;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-&gt;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.</content>
</entry>
<entry>
<title>Add Seminar05</title>
<updated>2024-11-12T22:20:20Z</updated>
<author>
<name>Stoycho Kyosev</name>
<email>stoycho.kk@gmail.com</email>
</author>
<published>2024-11-12T22:20:20Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/edu/FMI/Data-structures-and-algorithms/commit/?id=ad40e20b8983831400502fa9617f4c842ae23b78'/>
<id>urn:sha1:ad40e20b8983831400502fa9617f4c842ae23b78</id>
<content type='text'>
</content>
</entry>
</feed>
