Documentation for 692135b480

This commit is contained in:
github-actions
2021-10-19 01:04:05 +00:00
parent 043fd37800
commit 419f6e8f4e
99 changed files with 2721 additions and 2044 deletions

View File

@@ -136,7 +136,7 @@ Functions</h2></td></tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Implementation of singly linked list algorithm. </p>
<p >The linked list is a data structure used for holding a sequence of values, which can be added, removed and displayed. </p>
<h3><a class="anchor" id="autotoc_md33"></a>
<h3><a class="anchor" id="autotoc_md34"></a>
Algorithm</h3>
<p >Values can be added by iterating to the end of a list(by following the pointers) starting from the first link. Whichever link points to null is considered the last link and is pointed to the new value.</p>
<p >Values can be removed by also iterating through the list. When the node containing the value is found, the node pointing to the current node is made to point to the node that the current node is pointing to, and then returning the current node to heap store. </p>