Documentation for 582cdc7cc4

This commit is contained in:
github-actions
2022-12-21 16:49:13 +00:00
parent 8634a89f05
commit 7b0b042940
3228 changed files with 8908 additions and 8871 deletions

View File

@@ -147,7 +147,7 @@ Variables</h2></td></tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Implementation of Linear [<a class="el" href="../../dc/db5/struct_queue.html">Queue</a> using array] (<a href="https://www.geeksforgeeks.org/array-implementation-of-queue-simple/">https://www.geeksforgeeks.org/array-implementation-of-queue-simple/</a>). </p>
<p >The Linear <a class="el" href="../../dc/db5/struct_queue.html">Queue</a> is a data structure used for holding a sequence of values, which can be added to the end line (enqueue), removed from head of line (dequeue) and displayed. </p>
<h3><a class="anchor" id="autotoc_md41"></a>
<h3><a class="anchor" id="autotoc_md42"></a>
Algorithm</h3>
<p >Values can be added by increasing the <code>rear</code> variable by 1 (which points to the end of the array), then assigning new value to <code>rear</code>'s element of the array.</p>
<p >Values can be removed by increasing the <code>front</code> variable by 1 (which points to the first of the array), so it cannot reached any more.</p>