Documentation for 6376bf46af

This commit is contained in:
github-actions
2023-09-27 18:42:32 +00:00
parent d28eba1fef
commit b5b4d78981
5708 changed files with 52275 additions and 51112 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: data_structures/linkedlist_implentation_usingarray.cpp File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
@@ -121,31 +121,31 @@ Classes</h2></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac2fa82ac5ae366cc3aca53a40bb7cd70"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#ac2fa82ac5ae366cc3aca53a40bb7cd70">initialise_list</a> ()</td></tr>
<tr class="memitem:ac2fa82ac5ae366cc3aca53a40bb7cd70" id="r_ac2fa82ac5ae366cc3aca53a40bb7cd70"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#ac2fa82ac5ae366cc3aca53a40bb7cd70">initialise_list</a> ()</td></tr>
<tr class="separator:ac2fa82ac5ae366cc3aca53a40bb7cd70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73e11e0871f56342a30da93b6c93e8be"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#a73e11e0871f56342a30da93b6c93e8be">getnode</a> ()</td></tr>
<tr class="memitem:a73e11e0871f56342a30da93b6c93e8be" id="r_a73e11e0871f56342a30da93b6c93e8be"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#a73e11e0871f56342a30da93b6c93e8be">getnode</a> ()</td></tr>
<tr class="separator:a73e11e0871f56342a30da93b6c93e8be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08ba214242a900e7251cec556b592f02"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#a08ba214242a900e7251cec556b592f02">freeNode</a> (int nodeToBeDeleted)</td></tr>
<tr class="memitem:a08ba214242a900e7251cec556b592f02" id="r_a08ba214242a900e7251cec556b592f02"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#a08ba214242a900e7251cec556b592f02">freeNode</a> (int nodeToBeDeleted)</td></tr>
<tr class="separator:a08ba214242a900e7251cec556b592f02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcb07da7984e20b3207934696791f5df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#afcb07da7984e20b3207934696791f5df">insertAtTheBeginning</a> (int <a class="el" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>)</td></tr>
<tr class="memitem:afcb07da7984e20b3207934696791f5df" id="r_afcb07da7984e20b3207934696791f5df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#afcb07da7984e20b3207934696791f5df">insertAtTheBeginning</a> (int <a class="el" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>)</td></tr>
<tr class="separator:afcb07da7984e20b3207934696791f5df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92e0c1bb3b270143881e36b5fea8a60d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#a92e0c1bb3b270143881e36b5fea8a60d">insertAtTheEnd</a> (int <a class="el" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>)</td></tr>
<tr class="memitem:a92e0c1bb3b270143881e36b5fea8a60d" id="r_a92e0c1bb3b270143881e36b5fea8a60d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#a92e0c1bb3b270143881e36b5fea8a60d">insertAtTheEnd</a> (int <a class="el" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>)</td></tr>
<tr class="separator:a92e0c1bb3b270143881e36b5fea8a60d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e5b20fed15743656bb6d2e6a6ea6269"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#a1e5b20fed15743656bb6d2e6a6ea6269">display</a> ()</td></tr>
<tr class="memitem:a1e5b20fed15743656bb6d2e6a6ea6269" id="r_a1e5b20fed15743656bb6d2e6a6ea6269"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#a1e5b20fed15743656bb6d2e6a6ea6269">display</a> ()</td></tr>
<tr class="separator:a1e5b20fed15743656bb6d2e6a6ea6269"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:aed19b403f559fc5d5a4bce724f9e263c"><td class="memItemLeft" align="right" valign="top"><a id="aed19b403f559fc5d5a4bce724f9e263c" name="aed19b403f559fc5d5a4bce724f9e263c"></a>
<tr class="memitem:aed19b403f559fc5d5a4bce724f9e263c" id="r_aed19b403f559fc5d5a4bce724f9e263c"><td class="memItemLeft" align="right" valign="top"><a id="aed19b403f559fc5d5a4bce724f9e263c" name="aed19b403f559fc5d5a4bce724f9e263c"></a>
<a class="el" href="../../db/d8b/struct_node.html">Node</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AvailArray</b> [100]</td></tr>
<tr class="memdesc:aed19b403f559fc5d5a4bce724f9e263c"><td class="mdescLeft">&#160;</td><td class="mdescRight">array that will act as nodes of a linked list. <br /></td></tr>
<tr class="separator:aed19b403f559fc5d5a4bce724f9e263c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20358970b1abaf992eb85e071e454653"><td class="memItemLeft" align="right" valign="top"><a id="a20358970b1abaf992eb85e071e454653" name="a20358970b1abaf992eb85e071e454653"></a>
<tr class="memitem:a20358970b1abaf992eb85e071e454653" id="r_a20358970b1abaf992eb85e071e454653"><td class="memItemLeft" align="right" valign="top"><a id="a20358970b1abaf992eb85e071e454653" name="a20358970b1abaf992eb85e071e454653"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>head</b> = -1</td></tr>
<tr class="separator:a20358970b1abaf992eb85e071e454653"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab84c7d9bed2aa1ade1fd61fbf5c2e07e"><td class="memItemLeft" align="right" valign="top"><a id="ab84c7d9bed2aa1ade1fd61fbf5c2e07e" name="ab84c7d9bed2aa1ade1fd61fbf5c2e07e"></a>
<tr class="memitem:ab84c7d9bed2aa1ade1fd61fbf5c2e07e" id="r_ab84c7d9bed2aa1ade1fd61fbf5c2e07e"><td class="memItemLeft" align="right" valign="top"><a id="ab84c7d9bed2aa1ade1fd61fbf5c2e07e" name="ab84c7d9bed2aa1ade1fd61fbf5c2e07e"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>avail</b> = 0</td></tr>
<tr class="separator:ab84c7d9bed2aa1ade1fd61fbf5c2e07e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
@@ -382,7 +382,7 @@ Here is the call graph for this function:</div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_2e746e9d06bf2d8ff842208bcc6ebcfc.html">data_structures</a></li><li class="navelem"><a class="el" href="../../d3/dce/linkedlist__implentation__usingarray_8cpp.html">linkedlist_implentation_usingarray.cpp</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>

View File

@@ -1,9 +1,9 @@
<map id="main" name="main">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,31,55,56"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="140,5,211,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="54,37,125,24,125,29,55,42"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="54,37,124,24,125,30,55,42"/>
<area shape="rect" id="Node000003" href="$d3/dce/linkedlist__implentation__usingarray_8cpp.html#afcb07da7984e20b3207934696791f5df" title=" " alt="" coords="103,55,248,80"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="55,45,88,50,88,56,54,50"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="55,45,88,50,87,56,54,50"/>
<area shape="rect" id="Node000004" href="$d3/dce/linkedlist__implentation__usingarray_8cpp.html#a73e11e0871f56342a30da93b6c93e8be" title=" " alt="" coords="296,55,363,80"/>
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="249,65,281,65,281,70,249,70"/>
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="249,65,280,65,280,70,249,70"/>
</map>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: main Pages: 1 -->
<svg width="277pt" height="64pt"
@@ -40,8 +40,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.17,-30.76C51.42,-33.29 71.96,-36.94 89.75,-40.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="88.93,-43.69 99.39,-41.99 90.15,-36.79 88.93,-43.69"/>
<path fill="none" stroke="#63b8ff" d="M37.17,-30.76C51.29,-33.27 71.57,-36.87 89.24,-40.01"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="88.44,-43.42 98.9,-41.72 89.66,-36.53 88.44,-43.42"/>
</a>
</g>
</g>
@@ -58,8 +58,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.17,-24.65C44.25,-23.46 52.88,-22.01 61.96,-20.48"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.47,-23.78 71.75,-18.67 61.31,-16.87 62.47,-23.78"/>
<path fill="none" stroke="#63b8ff" d="M37.17,-24.65C44.17,-23.47 52.7,-22.04 61.66,-20.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.98,-24.03 71.26,-18.92 60.82,-17.13 61.98,-24.03"/>
</a>
</g>
</g>
@@ -76,8 +76,8 @@
<g id="edge3_Node000003_Node000004" class="edge">
<title>Node3&#45;&gt;Node4</title>
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M182.38,-9.62C190.63,-9.62 198.97,-9.62 206.7,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="206.5,-13.13 216.5,-9.62 206.5,-6.13 206.5,-13.13"/>
<path fill="none" stroke="#63b8ff" d="M182.38,-9.62C190.44,-9.62 198.59,-9.62 206.16,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.99,-13.13 215.99,-9.63 205.99,-6.13 205.99,-13.13"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: main Pages: 1 -->
<svg width="277pt" height="64pt"
@@ -30,8 +30,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.17,-30.76C51.42,-33.29 71.96,-36.94 89.75,-40.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="88.93,-43.69 99.39,-41.99 90.15,-36.79 88.93,-43.69"/>
<path fill="none" stroke="#63b8ff" d="M37.17,-30.76C51.29,-33.27 71.57,-36.87 89.24,-40.01"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="88.44,-43.42 98.9,-41.72 89.66,-36.53 88.44,-43.42"/>
</a>
</g>
</g>
@@ -48,8 +48,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.17,-24.65C44.25,-23.46 52.88,-22.01 61.96,-20.48"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.47,-23.78 71.75,-18.67 61.31,-16.87 62.47,-23.78"/>
<path fill="none" stroke="#63b8ff" d="M37.17,-24.65C44.17,-23.47 52.7,-22.04 61.66,-20.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.98,-24.03 71.26,-18.92 60.82,-17.13 61.98,-24.03"/>
</a>
</g>
</g>
@@ -66,8 +66,8 @@
<g id="edge3_Node000003_Node000004" class="edge">
<title>Node3&#45;&gt;Node4</title>
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M182.38,-9.62C190.63,-9.62 198.97,-9.62 206.7,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="206.5,-13.13 216.5,-9.62 206.5,-6.13 206.5,-13.13"/>
<path fill="none" stroke="#63b8ff" d="M182.38,-9.62C190.44,-9.62 198.59,-9.62 206.16,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.99,-13.13 215.99,-9.63 205.99,-6.13 205.99,-13.13"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -1,5 +1,5 @@
<map id="insertAtTheBeginning" name="insertAtTheBeginning">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,5,151,31"/>
<area shape="rect" id="Node000002" href="$d3/dce/linkedlist__implentation__usingarray_8cpp.html#a73e11e0871f56342a30da93b6c93e8be" title=" " alt="" coords="199,5,266,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="151,16,184,16,184,21,151,21"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="151,16,183,16,183,21,151,21"/>
</map>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: insertAtTheBeginning Pages: 1 -->
<svg width="204pt" height="27pt"
@@ -40,8 +40,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M109.38,-9.62C117.63,-9.62 125.97,-9.62 133.7,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="133.5,-13.13 143.5,-9.62 133.5,-6.13 133.5,-13.13"/>
<path fill="none" stroke="#63b8ff" d="M109.38,-9.62C117.44,-9.62 125.59,-9.62 133.16,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.99,-13.13 142.99,-9.63 132.99,-6.13 132.99,-13.13"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: insertAtTheBeginning Pages: 1 -->
<svg width="204pt" height="27pt"
@@ -30,8 +30,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M109.38,-9.62C117.63,-9.62 125.97,-9.62 133.7,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="133.5,-13.13 143.5,-9.62 133.5,-6.13 133.5,-13.13"/>
<path fill="none" stroke="#63b8ff" d="M109.38,-9.62C117.44,-9.62 125.59,-9.62 133.16,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.99,-13.13 142.99,-9.63 132.99,-6.13 132.99,-13.13"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB