Documentation for db149bf3b7

This commit is contained in:
github-actions
2022-09-02 14:36:25 +00:00
parent ca6acdc719
commit 766f10286e
5464 changed files with 92674 additions and 78796 deletions

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<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.4"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: others::postfix_expression::Stack Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,10 +41,10 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search",'Search','.html');
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
@@ -84,9 +84,16 @@ $(document).ready(function(){initNavTree('d5/d8a/classothers_1_1postfix__express
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
@@ -102,7 +109,7 @@ $(document).ready(function(){initNavTree('d5/d8a/classothers_1_1postfix__express
<div class="dynheader">
Collaboration diagram for others::postfix_expression::Stack:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/d8e/classothers_1_1postfix__expression_1_1_stack__coll__graph.svg" width="186" height="142"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/d8e/classothers_1_1postfix__expression_1_1_stack__coll__graph.svg" width="186" height="139"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
@@ -128,7 +135,7 @@ int&#160;</td><td class="memItemRight" valign="bottom"><b>stackTop</b> = -1</td>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d0/d6f/namespaceothers.html">others</a></li><li class="navelem"><b>postfix_expression</b></li><li class="navelem"><a class="el" href="../../d5/d8a/classothers_1_1postfix__expression_1_1_stack.html">Stack</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.4 </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.5 </li>
</ul>
</div>
</body>

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<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.4"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: data_structures/trie_using_hashmap.cpp File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,10 +41,10 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search",'Search','.html');
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
@@ -84,9 +84,16 @@ $(document).ready(function(){initNavTree('d5/d8a/trie__using__hashmap_8cpp.html'
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
@@ -109,7 +116,7 @@ $(document).ready(function(){initNavTree('d5/d8a/trie__using__hashmap_8cpp.html'
</div><div class="textblock"><div class="dynheader">
Include dependency graph for trie_using_hashmap.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/dfd/trie__using__hashmap_8cpp__incl.svg" width="564" height="127"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/dfd/trie__using__hashmap_8cpp__incl.svg" width="564" height="124"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div><table class="memberdecls">
@@ -146,7 +153,7 @@ Functions</h2></td></tr>
<p>The <a class="el" href="../../dd/d2f/class_trie.html">Trie</a> data structure is implemented using unordered map to use memory optimally, predict_words method is developed to recommend words based on a given prefix along with other methods insert, delete, search, startwith in trie. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dc/d93/trie__modern_8cpp.html" title="A basic implementation of trie class to store only lower-case strings.">trie_modern.cpp</a> for difference </dd></dl>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&nbsp;</a></span>main()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&#160;</a></span>main()</h2>
<div class="memitem">
<div class="memproto">
@@ -178,7 +185,7 @@ Here is the call graph for this function:</div>
</div>
</div>
<a id="aa8dca7b867074164d5f45b0f3851269d" name="aa8dca7b867074164d5f45b0f3851269d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8dca7b867074164d5f45b0f3851269d">&#9670;&nbsp;</a></span>test()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#aa8dca7b867074164d5f45b0f3851269d">&#9670;&#160;</a></span>test()</h2>
<div class="memitem">
<div class="memproto">
@@ -332,7 +339,7 @@ Here is the call graph for this function:</div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d5/d8a/trie__using__hashmap_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="655" height="570"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d5/d8a/trie__using__hashmap_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="655" height="559"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
@@ -344,7 +351,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="../../d5/d8a/trie__using__hashmap_8cpp.html">trie_using_hashmap.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.4 </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.5 </li>
</ul>
</div>
</body>

View File

@@ -1,17 +1,17 @@
<map id="test" name="test">
<area shape="rect" id="node1" title="Self&#45;test implementations." alt="" coords="5,312,49,339"/>
<area shape="rect" id="node2" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" title="delete a word/string from a trie" alt="" coords="97,87,248,143"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="137,167,209,193"/>
<area shape="rect" id="node9" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" title="insert the string into the trie" alt="" coords="97,217,248,273"/>
<area shape="rect" id="node10" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" title="predict/recommend a word that starts with a given prefix" alt="" coords="97,297,248,353"/>
<area shape="rect" id="node13" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" title="search a word/string inside the trie" alt="" coords="97,377,248,433"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="115,457,231,484"/>
<area shape="rect" id="node15" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" title="search a word/string that starts with a given prefix" alt="" coords="97,508,248,564"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/back.html#" title=" " alt="" coords="313,5,429,32"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/pop.html#" title=" " alt="" coords="317,56,426,83"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/pop_back.html#" title=" " alt="" coords="500,183,644,209"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/push.html#" title=" " alt="" coords="313,157,429,184"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/top.html#" title=" " alt="" coords="318,208,425,235"/>
<area shape="rect" id="node11" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n..." alt="" coords="296,288,447,344"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="495,303,649,329"/>
<area shape="rect" id="node1" title="Self&#45;test implementations." alt="" coords="5,307,49,332"/>
<area shape="rect" id="node2" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" title="delete a word/string from a trie" alt="" coords="97,85,248,140"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="137,164,209,189"/>
<area shape="rect" id="node9" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" title="insert the string into the trie" alt="" coords="97,213,248,268"/>
<area shape="rect" id="node10" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" title="predict/recommend a word that starts with a given prefix" alt="" coords="97,292,248,347"/>
<area shape="rect" id="node13" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" title="search a word/string inside the trie" alt="" coords="97,371,248,425"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="115,449,231,475"/>
<area shape="rect" id="node15" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" title="search a word/string that starts with a given prefix" alt="" coords="97,499,248,553"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/back.html#" title=" " alt="" coords="313,5,429,31"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/pop.html#" title=" " alt="" coords="317,55,426,80"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/pop_back.html#" title=" " alt="" coords="500,179,644,204"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/push.html#" title=" " alt="" coords="313,156,429,181"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/top.html#" title=" " alt="" coords="318,205,425,231"/>
<area shape="rect" id="node11" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n..." alt="" coords="296,283,447,337"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="495,297,649,323"/>
</map>

View File

@@ -1 +1 @@
e2aeb03c14efefbfa0edfc42808d894c
3ec185973c11d73319a766c32ca4c967

View File

@@ -1,20 +1,19 @@
<?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 5.0.0 (20220707.1540)
<!-- Generated by graphviz version 5.0.1 (20220820.1526)
-->
<!-- Title: test Pages: 1 -->
<svg width="491pt" height="427pt"
viewBox="0.00 0.00 491.00 427.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 423)">
<svg width="491pt" height="419pt"
viewBox="0.00 0.00 491.00 419.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 415)">
<title>test</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-423 487,-423 487,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Self&#45;test implementations.">
<polygon fill="#bfbfbf" stroke="black" points="0,-169.5 0,-188.5 33,-188.5 33,-169.5 0,-169.5"/>
<text text-anchor="middle" x="16.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
<polygon fill="#999999" stroke="#666666" points="33,-185 0,-185 0,-166 33,-166 33,-185"/>
<text text-anchor="middle" x="16.5" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
@@ -22,235 +21,235 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<polygon fill="white" stroke="black" points="69,-316.5 69,-357.5 182,-357.5 182,-316.5 69,-316.5"/>
<text text-anchor="start" x="77" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-334.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-323.5" font-family="Helvetica,sans-Serif" font-size="10.00">::delete_word</text>
<polygon fill="white" stroke="#666666" points="182,-351 69,-351 69,-310 182,-310 182,-351"/>
<text text-anchor="start" x="77" y="-339" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-328" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-317" font-family="Helvetica,sans-Serif" font-size="10.00">::delete_word</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M19.04,-188.52C23.21,-211.5 36.61,-270.73 69,-307 69.86,-307.97 70.76,-308.9 71.7,-309.82"/>
<polygon fill="midnightblue" stroke="midnightblue" points="69.52,-312.56 79.41,-316.35 74.04,-307.22 69.52,-312.56"/>
<path fill="none" stroke="#63b8ff" d="M19.12,-185.24C23.38,-208.16 36.86,-266.21 69,-301.5 69.52,-302.07 70.06,-302.64 70.61,-303.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="68.5,-305.99 78.36,-309.87 73.07,-300.69 68.5,-305.99"/>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="98.5,-278.5 98.5,-297.5 152.5,-297.5 152.5,-278.5 98.5,-278.5"/>
<text text-anchor="middle" x="125.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="#666666" points="152.5,-292 98.5,-292 98.5,-273 152.5,-273 152.5,-292"/>
<text text-anchor="middle" x="125.5" y="-280" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<title>Node1&#45;&gt;Node8</title>
<path fill="none" stroke="midnightblue" d="M20.45,-188.65C26.54,-206.96 42.21,-246.87 69,-269 74.72,-273.73 81.68,-277.3 88.72,-280"/>
<polygon fill="midnightblue" stroke="midnightblue" points="87.65,-283.33 98.24,-283.16 89.85,-276.69 87.65,-283.33"/>
<path fill="none" stroke="#63b8ff" d="M20.45,-185.08C26.54,-203.25 42.21,-242.84 69,-264.5 74.61,-269.04 81.39,-272.44 88.26,-274.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="87.68,-278.48 98.27,-278.16 89.79,-271.8 87.68,-278.48"/>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<polygon fill="white" stroke="black" points="69,-218.5 69,-259.5 182,-259.5 182,-218.5 69,-218.5"/>
<text text-anchor="start" x="77" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::insert</text>
<polygon fill="white" stroke="#666666" points="182,-255 69,-255 69,-214 182,-214 182,-255"/>
<text text-anchor="start" x="77" y="-243" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-232" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">::insert</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<title>Node1&#45;&gt;Node9</title>
<path fill="none" stroke="midnightblue" d="M33.2,-188.32C43.37,-194.31 56.91,-202.21 69,-209 71.64,-210.48 74.35,-211.99 77.09,-213.51"/>
<polygon fill="midnightblue" stroke="midnightblue" points="75.45,-216.6 85.9,-218.34 78.82,-210.46 75.45,-216.6"/>
<path fill="none" stroke="#63b8ff" d="M33.24,-184.46C43.42,-190.22 56.96,-197.86 69,-204.5 71.69,-205.99 74.47,-207.51 77.26,-209.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="75.78,-212.22 86.24,-213.93 79.13,-206.07 75.78,-212.22"/>
</g>
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<polygon fill="white" stroke="black" points="69,-158.5 69,-199.5 182,-199.5 182,-158.5 69,-158.5"/>
<text text-anchor="start" x="77" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-165.5" font-family="Helvetica,sans-Serif" font-size="10.00">::predict_words</text>
<polygon fill="white" stroke="#666666" points="182,-196 69,-196 69,-155 182,-155 182,-196"/>
<text text-anchor="start" x="77" y="-184" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-162" font-family="Helvetica,sans-Serif" font-size="10.00">::predict_words</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<title>Node1&#45;&gt;Node10</title>
<path fill="none" stroke="midnightblue" d="M33.29,-179C40.29,-179 49.04,-179 58.34,-179"/>
<polygon fill="midnightblue" stroke="midnightblue" points="58.58,-182.5 68.58,-179 58.58,-175.5 58.58,-182.5"/>
<path fill="none" stroke="#63b8ff" d="M33.29,-175.5C40.29,-175.5 49.04,-175.5 58.34,-175.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="58.58,-179 68.58,-175.5 58.58,-172 58.58,-179"/>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<polygon fill="white" stroke="black" points="69,-98.5 69,-139.5 182,-139.5 182,-98.5 69,-98.5"/>
<text text-anchor="start" x="77" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-116.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-105.5" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
<polygon fill="white" stroke="#666666" points="182,-137 69,-137 69,-96 182,-96 182,-137"/>
<text text-anchor="start" x="77" y="-125" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-114" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-103" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node13 -->
<g id="edge14" class="edge">
<title>Node1&#45;&gt;Node13</title>
<path fill="none" stroke="midnightblue" d="M33.2,-169.68C43.37,-163.69 56.91,-155.79 69,-149 71.64,-147.52 74.35,-146.01 77.09,-144.49"/>
<polygon fill="midnightblue" stroke="midnightblue" points="78.82,-147.54 85.9,-139.66 75.45,-141.4 78.82,-147.54"/>
<path fill="none" stroke="#63b8ff" d="M33.17,-166.12C43.32,-160.11 56.86,-152.2 69,-145.5 71.21,-144.28 73.47,-143.05 75.76,-141.81"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="77.51,-144.84 84.67,-137.03 74.2,-138.67 77.51,-144.84"/>
</g>
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="82,-60.5 82,-79.5 169,-79.5 169,-60.5 82,-60.5"/>
<text text-anchor="middle" x="125.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
<polygon fill="white" stroke="#666666" points="169,-78 82,-78 82,-59 169,-59 169,-78"/>
<text text-anchor="middle" x="125.5" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node14 -->
<g id="edge15" class="edge">
<title>Node1&#45;&gt;Node14</title>
<path fill="none" stroke="midnightblue" d="M20.45,-169.35C26.54,-151.04 42.21,-111.13 69,-89 71.13,-87.24 73.44,-85.63 75.86,-84.18"/>
<polygon fill="midnightblue" stroke="midnightblue" points="77.68,-87.18 85,-79.51 74.5,-80.94 77.68,-87.18"/>
<path fill="none" stroke="#63b8ff" d="M20.45,-165.92C26.54,-147.75 42.21,-108.16 69,-86.5 70.6,-85.21 72.29,-84.01 74.04,-82.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="76.1,-85.77 83.31,-78.01 72.83,-79.58 76.1,-85.77"/>
</g>
<!-- Node15 -->
<g id="node15" class="node">
<title>Node15</title>
<g id="a_node15"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<polygon fill="white" stroke="black" points="69,-0.5 69,-41.5 182,-41.5 182,-0.5 69,-0.5"/>
<text text-anchor="start" x="77" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::startwith</text>
<polygon fill="white" stroke="#666666" points="182,-41 69,-41 69,0 182,0 182,-41"/>
<text text-anchor="start" x="77" y="-29" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="77" y="-18" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="125.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">::startwith</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node15 -->
<g id="edge16" class="edge">
<title>Node1&#45;&gt;Node15</title>
<path fill="none" stroke="midnightblue" d="M19.04,-169.48C23.21,-146.5 36.61,-87.27 69,-51 69.86,-50.03 70.76,-49.1 71.7,-48.18"/>
<polygon fill="midnightblue" stroke="midnightblue" points="74.04,-50.78 79.41,-41.65 69.52,-45.44 74.04,-50.78"/>
<path fill="none" stroke="#63b8ff" d="M19.12,-165.76C23.38,-142.84 36.86,-84.79 69,-49.5 69.52,-48.93 70.06,-48.36 70.61,-47.81"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.07,-50.31 78.36,-41.13 68.5,-45.01 73.07,-50.31"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="231,-399.5 231,-418.5 318,-418.5 318,-399.5 231,-399.5"/>
<text text-anchor="middle" x="274.5" y="-406.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
<polygon fill="white" stroke="#666666" points="318,-411 231,-411 231,-392 318,-392 318,-411"/>
<text text-anchor="middle" x="274.5" y="-399" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M158.71,-357.73C175.88,-368.24 197.62,-380.72 218,-390 222.69,-392.14 227.69,-394.17 232.7,-396.06"/>
<polygon fill="midnightblue" stroke="midnightblue" points="231.66,-399.4 242.26,-399.5 234.03,-392.82 231.66,-399.4"/>
<path fill="none" stroke="#63b8ff" d="M158.23,-351.11C175.45,-361.71 197.38,-374.31 218,-383.5 222.07,-385.31 226.37,-387.03 230.71,-388.64"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.6,-391.96 240.2,-391.97 231.92,-385.35 229.6,-391.96"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="233.5,-361.5 233.5,-380.5 315.5,-380.5 315.5,-361.5 233.5,-361.5"/>
<text text-anchor="middle" x="274.5" y="-368.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
<polygon fill="white" stroke="#666666" points="315.5,-374 233.5,-374 233.5,-355 315.5,-355 315.5,-374"/>
<text text-anchor="middle" x="274.5" y="-362" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node2&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M182.07,-349.85C195.68,-353 210.16,-356.35 223.49,-359.43"/>
<polygon fill="midnightblue" stroke="midnightblue" points="222.89,-362.89 233.42,-361.73 224.47,-356.07 222.89,-362.89"/>
<path fill="none" stroke="#63b8ff" d="M182.07,-343.35C195.68,-346.5 210.16,-349.85 223.49,-352.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="222.89,-356.39 233.42,-355.23 224.47,-349.57 222.89,-356.39"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="371,-266.5 371,-285.5 479,-285.5 479,-266.5 371,-266.5"/>
<text text-anchor="middle" x="425" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
<polygon fill="white" stroke="#666666" points="479,-281 371,-281 371,-262 479,-262 479,-281"/>
<text text-anchor="middle" x="425" y="-269" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node2&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M182.36,-334.87C223.89,-332.29 281.67,-326.59 331,-314 353.39,-308.28 377.51,-298.31 395.57,-290.01"/>
<polygon fill="midnightblue" stroke="midnightblue" points="397.37,-293.03 404.94,-285.61 394.4,-286.7 397.37,-293.03"/>
<path fill="none" stroke="#63b8ff" d="M182.29,-328.1C223.79,-325.39 281.56,-319.63 331,-307.5 352.85,-302.14 376.48,-292.94 394.45,-285.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="396.07,-288.3 403.81,-281.06 393.24,-281.9 396.07,-288.3"/>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="231,-285.5 231,-304.5 318,-304.5 318,-285.5 231,-285.5"/>
<text text-anchor="middle" x="274.5" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
<polygon fill="white" stroke="#666666" points="318,-298 231,-298 231,-279 318,-279 318,-298"/>
<text text-anchor="middle" x="274.5" y="-286" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<title>Node2&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M182.07,-321.12C197.93,-316.59 214.97,-311.72 229.99,-307.43"/>
<polygon fill="midnightblue" stroke="midnightblue" points="231.37,-310.68 240.03,-304.56 229.45,-303.95 231.37,-310.68"/>
<path fill="none" stroke="#63b8ff" d="M182.07,-314.62C197.93,-310.09 214.97,-305.22 229.99,-300.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="231.37,-304.18 240.03,-298.06 229.45,-297.45 231.37,-304.18"/>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="234.5,-247.5 234.5,-266.5 314.5,-266.5 314.5,-247.5 234.5,-247.5"/>
<text text-anchor="middle" x="274.5" y="-254.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
<polygon fill="white" stroke="#666666" points="314.5,-261 234.5,-261 234.5,-242 314.5,-242 314.5,-261"/>
<text text-anchor="middle" x="274.5" y="-249" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<title>Node2&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M167.13,-316.37C172.23,-313.39 177.31,-310.23 182,-307 199.39,-295.02 199.68,-286.5 218,-276 221.63,-273.92 225.52,-272.02 229.5,-270.29"/>
<polygon fill="midnightblue" stroke="midnightblue" points="230.85,-273.52 238.85,-266.58 228.27,-267.02 230.85,-273.52"/>
<path fill="none" stroke="#63b8ff" d="M168.33,-309.98C173.03,-307.28 177.68,-304.43 182,-301.5 199.47,-289.64 199.68,-281 218,-270.5 221.63,-268.42 225.52,-266.52 229.5,-264.79"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="230.85,-268.02 238.85,-261.08 228.27,-261.52 230.85,-268.02"/>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<polygon fill="white" stroke="black" points="218,-165.5 218,-206.5 331,-206.5 331,-165.5 218,-165.5"/>
<text text-anchor="start" x="226" y="-194.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="226" y="-183.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="274.5" y="-172.5" font-family="Helvetica,sans-Serif" font-size="10.00">::get_all_words</text>
<polygon fill="white" stroke="#666666" points="331,-203 218,-203 218,-162 331,-162 331,-203"/>
<text text-anchor="start" x="226" y="-191" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="226" y="-180" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="274.5" y="-169" font-family="Helvetica,sans-Serif" font-size="10.00">::get_all_words</text>
</a>
</g>
</g>
<!-- Node10&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<title>Node10&#45;&gt;Node11</title>
<path fill="none" stroke="midnightblue" d="M182.07,-181.65C190.49,-182.05 199.24,-182.46 207.84,-182.87"/>
<polygon fill="midnightblue" stroke="midnightblue" points="207.69,-186.37 217.85,-183.35 208.02,-179.38 207.69,-186.37"/>
<path fill="none" stroke="#63b8ff" d="M182.07,-178.15C190.49,-178.55 199.24,-178.96 207.84,-179.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="207.69,-182.87 217.85,-179.85 208.02,-175.88 207.69,-182.87"/>
</g>
<!-- Node11&#45;&gt;Node5 -->
<g id="edge12" class="edge">
<title>Node11&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M309.57,-206.65C337.06,-223.31 375.05,-246.34 399.58,-261.2"/>
<polygon fill="midnightblue" stroke="midnightblue" points="397.91,-264.28 408.27,-266.47 401.53,-258.29 397.91,-264.28"/>
<path fill="none" stroke="#63b8ff" d="M309.94,-203.14C337.29,-219.53 374.88,-242.06 399.3,-256.7"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="397.59,-259.75 407.97,-261.89 401.19,-253.75 397.59,-259.75"/>
</g>
<!-- Node11&#45;&gt;Node11 -->
<g id="edge11" class="edge">
<title>Node11&#45;&gt;Node11</title>
<path fill="none" stroke="midnightblue" d="M247.3,-206.86C244.33,-216.54 253.4,-225 274.5,-225 287.69,-225 296.18,-221.7 299.96,-216.86"/>
<polygon fill="midnightblue" stroke="midnightblue" points="303.43,-217.32 301.7,-206.86 296.54,-216.12 303.43,-217.32"/>
<path fill="none" stroke="#63b8ff" d="M247.3,-203.1C244.33,-212.65 253.4,-221 274.5,-221 287.69,-221 296.18,-217.74 299.96,-212.96"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="303.41,-213.55 301.7,-203.1 296.52,-212.34 303.41,-213.55"/>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="367,-176.5 367,-195.5 483,-195.5 483,-176.5 367,-176.5"/>
<text text-anchor="middle" x="425" y="-183.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
<polygon fill="white" stroke="#666666" points="483,-192 367,-192 367,-173 483,-173 483,-192"/>
<text text-anchor="middle" x="425" y="-180" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge13" class="edge">
<title>Node11&#45;&gt;Node12</title>
<path fill="none" stroke="midnightblue" d="M331.22,-186C339.62,-186 348.36,-186 356.96,-186"/>
<polygon fill="midnightblue" stroke="midnightblue" points="356.98,-189.5 366.98,-186 356.98,-182.5 356.98,-189.5"/>
<path fill="none" stroke="#63b8ff" d="M331.22,-182.5C339.62,-182.5 348.36,-182.5 356.96,-182.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="356.98,-186 366.98,-182.5 356.98,-179 356.98,-186"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -1,18 +1,18 @@
<map id="main" name="main">
<area shape="rect" id="node1" title="Main function." alt="" coords="5,312,56,339"/>
<area shape="rect" id="node2" href="$d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Self&#45;test implementations." alt="" coords="104,312,148,339"/>
<area shape="rect" id="node3" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" title="delete a word/string from a trie" alt="" coords="196,87,347,143"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="235,167,307,193"/>
<area shape="rect" id="node10" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" title="insert the string into the trie" alt="" coords="196,217,347,273"/>
<area shape="rect" id="node11" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" title="predict/recommend a word that starts with a given prefix" alt="" coords="196,297,347,353"/>
<area shape="rect" id="node14" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" title="search a word/string inside the trie" alt="" coords="196,377,347,433"/>
<area shape="rect" id="node15" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="213,457,329,484"/>
<area shape="rect" id="node16" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" title="search a word/string that starts with a given prefix" alt="" coords="196,508,347,564"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/back.html#" title=" " alt="" coords="412,5,528,32"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/pop.html#" title=" " alt="" coords="415,56,525,83"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/pop_back.html#" title=" " alt="" coords="599,183,743,209"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/push.html#" title=" " alt="" coords="412,157,528,184"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/top.html#" title=" " alt="" coords="417,208,523,235"/>
<area shape="rect" id="node12" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n..." alt="" coords="395,288,545,344"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="593,303,748,329"/>
<area shape="rect" id="node1" title="Main function." alt="" coords="5,307,56,332"/>
<area shape="rect" id="node2" href="$d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Self&#45;test implementations." alt="" coords="104,307,148,332"/>
<area shape="rect" id="node3" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" title="delete a word/string from a trie" alt="" coords="196,85,347,140"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="235,164,307,189"/>
<area shape="rect" id="node10" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" title="insert the string into the trie" alt="" coords="196,213,347,268"/>
<area shape="rect" id="node11" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" title="predict/recommend a word that starts with a given prefix" alt="" coords="196,292,347,347"/>
<area shape="rect" id="node14" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" title="search a word/string inside the trie" alt="" coords="196,371,347,425"/>
<area shape="rect" id="node15" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="213,449,329,475"/>
<area shape="rect" id="node16" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" title="search a word/string that starts with a given prefix" alt="" coords="196,499,347,553"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/back.html#" title=" " alt="" coords="412,5,528,31"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/pop.html#" title=" " alt="" coords="415,55,525,80"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/basic_string/pop_back.html#" title=" " alt="" coords="599,179,743,204"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/push.html#" title=" " alt="" coords="412,156,528,181"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/stack/top.html#" title=" " alt="" coords="417,205,523,231"/>
<area shape="rect" id="node12" href="$d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n..." alt="" coords="395,283,545,337"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="593,297,748,323"/>
</map>

View File

@@ -1 +1 @@
30186015d7a87832e4198768bf73df6d
539b47d65140c2dd4c46f765e405d250

View File

@@ -1,10 +1,10 @@
<?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 5.0.0 (20220707.1540)
<!-- Generated by graphviz version 5.0.1 (20220820.1526)
-->
<!-- Title: main Pages: 1 -->
<!--zoomable 427 -->
<!--zoomable 419 -->
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
<style type="text/css"><![CDATA[
.edge:hover path { stroke: red; }
@@ -47,20 +47,19 @@ if (edges && edges.length) {
<script type="text/javascript">
var viewWidth = 565;
var viewHeight = 427;
var viewHeight = 419;
var sectionId = 'dynsection-1';
</script>
<script xlink:href="../../svgpan.js"/>
<svg id="graph" class="graph">
<g id="viewport">
<title>main</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-423 561,-423 561,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Main function.">
<polygon fill="#bfbfbf" stroke="black" points="0,-169.5 0,-188.5 38,-188.5 38,-169.5 0,-169.5"/>
<text text-anchor="middle" x="19" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
<polygon fill="#999999" stroke="#666666" points="38,-185 0,-185 0,-166 38,-166 38,-185"/>
<text text-anchor="middle" x="19" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
@@ -68,250 +67,250 @@ var sectionId = 'dynsection-1';
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self&#45;test implementations.">
<polygon fill="white" stroke="black" points="74,-169.5 74,-188.5 107,-188.5 107,-169.5 74,-169.5"/>
<text text-anchor="middle" x="90.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
<polygon fill="white" stroke="#666666" points="107,-185 74,-185 74,-166 107,-166 107,-185"/>
<text text-anchor="middle" x="90.5" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M38.26,-179C46.07,-179 55.31,-179 63.79,-179"/>
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-182.5 73.95,-179 63.95,-175.5 63.95,-182.5"/>
<path fill="none" stroke="#63b8ff" d="M38.26,-175.5C46.07,-175.5 55.31,-175.5 63.79,-175.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.95,-179 73.95,-175.5 63.95,-172 63.95,-179"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<polygon fill="white" stroke="black" points="143,-316.5 143,-357.5 256,-357.5 256,-316.5 143,-316.5"/>
<text text-anchor="start" x="151" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-334.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-323.5" font-family="Helvetica,sans-Serif" font-size="10.00">::delete_word</text>
<polygon fill="white" stroke="#666666" points="256,-351 143,-351 143,-310 256,-310 256,-351"/>
<text text-anchor="start" x="151" y="-339" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-328" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-317" font-family="Helvetica,sans-Serif" font-size="10.00">::delete_word</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M93.04,-188.52C97.21,-211.5 110.61,-270.73 143,-307 143.86,-307.97 144.76,-308.9 145.7,-309.82"/>
<polygon fill="midnightblue" stroke="midnightblue" points="143.52,-312.56 153.41,-316.35 148.04,-307.22 143.52,-312.56"/>
<path fill="none" stroke="#63b8ff" d="M93.12,-185.24C97.38,-208.16 110.86,-266.21 143,-301.5 143.52,-302.07 144.06,-302.64 144.61,-303.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="142.5,-305.99 152.36,-309.87 147.07,-300.69 142.5,-305.99"/>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="172.5,-278.5 172.5,-297.5 226.5,-297.5 226.5,-278.5 172.5,-278.5"/>
<text text-anchor="middle" x="199.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="#666666" points="226.5,-292 172.5,-292 172.5,-273 226.5,-273 226.5,-292"/>
<text text-anchor="middle" x="199.5" y="-280" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<title>Node2&#45;&gt;Node9</title>
<path fill="none" stroke="midnightblue" d="M94.45,-188.65C100.54,-206.96 116.21,-246.87 143,-269 148.72,-273.73 155.68,-277.3 162.72,-280"/>
<polygon fill="midnightblue" stroke="midnightblue" points="161.65,-283.33 172.24,-283.16 163.85,-276.69 161.65,-283.33"/>
<path fill="none" stroke="#63b8ff" d="M94.45,-185.08C100.54,-203.25 116.21,-242.84 143,-264.5 148.61,-269.04 155.39,-272.44 162.26,-274.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="161.68,-278.48 172.27,-278.16 163.79,-271.8 161.68,-278.48"/>
</g>
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<polygon fill="white" stroke="black" points="143,-218.5 143,-259.5 256,-259.5 256,-218.5 143,-218.5"/>
<text text-anchor="start" x="151" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::insert</text>
<polygon fill="white" stroke="#666666" points="256,-255 143,-255 143,-214 256,-214 256,-255"/>
<text text-anchor="start" x="151" y="-243" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-232" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">::insert</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<title>Node2&#45;&gt;Node10</title>
<path fill="none" stroke="midnightblue" d="M107.2,-188.32C117.37,-194.31 130.91,-202.21 143,-209 145.64,-210.48 148.35,-211.99 151.09,-213.51"/>
<polygon fill="midnightblue" stroke="midnightblue" points="149.45,-216.6 159.9,-218.34 152.82,-210.46 149.45,-216.6"/>
<path fill="none" stroke="#63b8ff" d="M107.24,-184.46C117.42,-190.22 130.96,-197.86 143,-204.5 145.69,-205.99 148.47,-207.51 151.26,-209.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.78,-212.22 160.24,-213.93 153.13,-206.07 149.78,-212.22"/>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<polygon fill="white" stroke="black" points="143,-158.5 143,-199.5 256,-199.5 256,-158.5 143,-158.5"/>
<text text-anchor="start" x="151" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-165.5" font-family="Helvetica,sans-Serif" font-size="10.00">::predict_words</text>
<polygon fill="white" stroke="#666666" points="256,-196 143,-196 143,-155 256,-155 256,-196"/>
<text text-anchor="start" x="151" y="-184" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-162" font-family="Helvetica,sans-Serif" font-size="10.00">::predict_words</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<title>Node2&#45;&gt;Node11</title>
<path fill="none" stroke="midnightblue" d="M107.29,-179C114.29,-179 123.04,-179 132.34,-179"/>
<polygon fill="midnightblue" stroke="midnightblue" points="132.58,-182.5 142.58,-179 132.58,-175.5 132.58,-182.5"/>
<path fill="none" stroke="#63b8ff" d="M107.29,-175.5C114.29,-175.5 123.04,-175.5 132.34,-175.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.58,-179 142.58,-175.5 132.58,-172 132.58,-179"/>
</g>
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<polygon fill="white" stroke="black" points="143,-98.5 143,-139.5 256,-139.5 256,-98.5 143,-98.5"/>
<text text-anchor="start" x="151" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-116.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-105.5" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
<polygon fill="white" stroke="#666666" points="256,-137 143,-137 143,-96 256,-96 256,-137"/>
<text text-anchor="start" x="151" y="-125" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-114" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-103" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node14 -->
<g id="edge15" class="edge">
<title>Node2&#45;&gt;Node14</title>
<path fill="none" stroke="midnightblue" d="M107.2,-169.68C117.37,-163.69 130.91,-155.79 143,-149 145.64,-147.52 148.35,-146.01 151.09,-144.49"/>
<polygon fill="midnightblue" stroke="midnightblue" points="152.82,-147.54 159.9,-139.66 149.45,-141.4 152.82,-147.54"/>
<path fill="none" stroke="#63b8ff" d="M107.17,-166.12C117.32,-160.11 130.86,-152.2 143,-145.5 145.21,-144.28 147.47,-143.05 149.76,-141.81"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="151.51,-144.84 158.67,-137.03 148.2,-138.67 151.51,-144.84"/>
</g>
<!-- Node15 -->
<g id="node15" class="node">
<title>Node15</title>
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="156,-60.5 156,-79.5 243,-79.5 243,-60.5 156,-60.5"/>
<text text-anchor="middle" x="199.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
<polygon fill="white" stroke="#666666" points="243,-78 156,-78 156,-59 243,-59 243,-78"/>
<text text-anchor="middle" x="199.5" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node15 -->
<g id="edge16" class="edge">
<title>Node2&#45;&gt;Node15</title>
<path fill="none" stroke="midnightblue" d="M94.45,-169.35C100.54,-151.04 116.21,-111.13 143,-89 145.13,-87.24 147.44,-85.63 149.86,-84.18"/>
<polygon fill="midnightblue" stroke="midnightblue" points="151.68,-87.18 159,-79.51 148.5,-80.94 151.68,-87.18"/>
<path fill="none" stroke="#63b8ff" d="M94.45,-165.92C100.54,-147.75 116.21,-108.16 143,-86.5 144.6,-85.21 146.29,-84.01 148.04,-82.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="150.1,-85.77 157.31,-78.01 146.83,-79.58 150.1,-85.77"/>
</g>
<!-- Node16 -->
<g id="node16" class="node">
<title>Node16</title>
<g id="a_node16"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<polygon fill="white" stroke="black" points="143,-0.5 143,-41.5 256,-41.5 256,-0.5 143,-0.5"/>
<text text-anchor="start" x="151" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::startwith</text>
<polygon fill="white" stroke="#666666" points="256,-41 143,-41 143,0 256,0 256,-41"/>
<text text-anchor="start" x="151" y="-29" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-18" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">::startwith</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node16 -->
<g id="edge17" class="edge">
<title>Node2&#45;&gt;Node16</title>
<path fill="none" stroke="midnightblue" d="M93.04,-169.48C97.21,-146.5 110.61,-87.27 143,-51 143.86,-50.03 144.76,-49.1 145.7,-48.18"/>
<polygon fill="midnightblue" stroke="midnightblue" points="148.04,-50.78 153.41,-41.65 143.52,-45.44 148.04,-50.78"/>
<path fill="none" stroke="#63b8ff" d="M93.12,-165.76C97.38,-142.84 110.86,-84.79 143,-49.5 143.52,-48.93 144.06,-48.36 144.61,-47.81"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.07,-50.31 152.36,-41.13 142.5,-45.01 147.07,-50.31"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="305,-399.5 305,-418.5 392,-418.5 392,-399.5 305,-399.5"/>
<text text-anchor="middle" x="348.5" y="-406.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
<polygon fill="white" stroke="#666666" points="392,-411 305,-411 305,-392 392,-392 392,-411"/>
<text text-anchor="middle" x="348.5" y="-399" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node3&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M232.71,-357.73C249.88,-368.24 271.62,-380.72 292,-390 296.69,-392.14 301.69,-394.17 306.7,-396.06"/>
<polygon fill="midnightblue" stroke="midnightblue" points="305.66,-399.4 316.26,-399.5 308.03,-392.82 305.66,-399.4"/>
<path fill="none" stroke="#63b8ff" d="M232.23,-351.11C249.45,-361.71 271.38,-374.31 292,-383.5 296.07,-385.31 300.37,-387.03 304.71,-388.64"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="303.6,-391.96 314.2,-391.97 305.92,-385.35 303.6,-391.96"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="307.5,-361.5 307.5,-380.5 389.5,-380.5 389.5,-361.5 307.5,-361.5"/>
<text text-anchor="middle" x="348.5" y="-368.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
<polygon fill="white" stroke="#666666" points="389.5,-374 307.5,-374 307.5,-355 389.5,-355 389.5,-374"/>
<text text-anchor="middle" x="348.5" y="-362" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node3&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M256.07,-349.85C269.68,-353 284.16,-356.35 297.49,-359.43"/>
<polygon fill="midnightblue" stroke="midnightblue" points="296.89,-362.89 307.42,-361.73 298.47,-356.07 296.89,-362.89"/>
<path fill="none" stroke="#63b8ff" d="M256.07,-343.35C269.68,-346.5 284.16,-349.85 297.49,-352.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="296.89,-356.39 307.42,-355.23 298.47,-349.57 296.89,-356.39"/>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="445,-266.5 445,-285.5 553,-285.5 553,-266.5 445,-266.5"/>
<text text-anchor="middle" x="499" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
<polygon fill="white" stroke="#666666" points="553,-281 445,-281 445,-262 553,-262 553,-281"/>
<text text-anchor="middle" x="499" y="-269" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<title>Node3&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M256.36,-334.87C297.89,-332.29 355.67,-326.59 405,-314 427.39,-308.28 451.51,-298.31 469.57,-290.01"/>
<polygon fill="midnightblue" stroke="midnightblue" points="471.37,-293.03 478.94,-285.61 468.4,-286.7 471.37,-293.03"/>
<path fill="none" stroke="#63b8ff" d="M256.29,-328.1C297.79,-325.39 355.56,-319.63 405,-307.5 426.85,-302.14 450.48,-292.94 468.45,-285.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="470.07,-288.3 477.81,-281.06 467.24,-281.9 470.07,-288.3"/>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="305,-285.5 305,-304.5 392,-304.5 392,-285.5 305,-285.5"/>
<text text-anchor="middle" x="348.5" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
<polygon fill="white" stroke="#666666" points="392,-298 305,-298 305,-279 392,-279 392,-298"/>
<text text-anchor="middle" x="348.5" y="-286" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<title>Node3&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M256.07,-321.12C271.93,-316.59 288.97,-311.72 303.99,-307.43"/>
<polygon fill="midnightblue" stroke="midnightblue" points="305.37,-310.68 314.03,-304.56 303.45,-303.95 305.37,-310.68"/>
<path fill="none" stroke="#63b8ff" d="M256.07,-314.62C271.93,-310.09 288.97,-305.22 303.99,-300.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="305.37,-304.18 314.03,-298.06 303.45,-297.45 305.37,-304.18"/>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="308.5,-247.5 308.5,-266.5 388.5,-266.5 388.5,-247.5 308.5,-247.5"/>
<text text-anchor="middle" x="348.5" y="-254.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
<polygon fill="white" stroke="#666666" points="388.5,-261 308.5,-261 308.5,-242 388.5,-242 388.5,-261"/>
<text text-anchor="middle" x="348.5" y="-249" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<title>Node3&#45;&gt;Node8</title>
<path fill="none" stroke="midnightblue" d="M241.13,-316.37C246.23,-313.39 251.31,-310.23 256,-307 273.39,-295.02 273.68,-286.5 292,-276 295.63,-273.92 299.52,-272.02 303.5,-270.29"/>
<polygon fill="midnightblue" stroke="midnightblue" points="304.85,-273.52 312.85,-266.58 302.27,-267.02 304.85,-273.52"/>
<path fill="none" stroke="#63b8ff" d="M242.33,-309.98C247.03,-307.28 251.68,-304.43 256,-301.5 273.47,-289.64 273.68,-281 292,-270.5 295.63,-268.42 299.52,-266.52 303.5,-264.79"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="304.85,-268.02 312.85,-261.08 302.27,-261.52 304.85,-268.02"/>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<polygon fill="white" stroke="black" points="292,-165.5 292,-206.5 405,-206.5 405,-165.5 292,-165.5"/>
<text text-anchor="start" x="300" y="-194.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="300" y="-183.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="348.5" y="-172.5" font-family="Helvetica,sans-Serif" font-size="10.00">::get_all_words</text>
<polygon fill="white" stroke="#666666" points="405,-203 292,-203 292,-162 405,-162 405,-203"/>
<text text-anchor="start" x="300" y="-191" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="300" y="-180" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="348.5" y="-169" font-family="Helvetica,sans-Serif" font-size="10.00">::get_all_words</text>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge11" class="edge">
<title>Node11&#45;&gt;Node12</title>
<path fill="none" stroke="midnightblue" d="M256.07,-181.65C264.49,-182.05 273.24,-182.46 281.84,-182.87"/>
<polygon fill="midnightblue" stroke="midnightblue" points="281.69,-186.37 291.85,-183.35 282.02,-179.38 281.69,-186.37"/>
<path fill="none" stroke="#63b8ff" d="M256.07,-178.15C264.49,-178.55 273.24,-178.96 281.84,-179.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="281.69,-182.87 291.85,-179.85 282.02,-175.88 281.69,-182.87"/>
</g>
<!-- Node12&#45;&gt;Node6 -->
<g id="edge13" class="edge">
<title>Node12&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M383.57,-206.65C411.06,-223.31 449.05,-246.34 473.58,-261.2"/>
<polygon fill="midnightblue" stroke="midnightblue" points="471.91,-264.28 482.27,-266.47 475.53,-258.29 471.91,-264.28"/>
<path fill="none" stroke="#63b8ff" d="M383.94,-203.14C411.29,-219.53 448.88,-242.06 473.3,-256.7"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="471.59,-259.75 481.97,-261.89 475.19,-253.75 471.59,-259.75"/>
</g>
<!-- Node12&#45;&gt;Node12 -->
<g id="edge12" class="edge">
<title>Node12&#45;&gt;Node12</title>
<path fill="none" stroke="midnightblue" d="M321.3,-206.86C318.33,-216.54 327.4,-225 348.5,-225 361.69,-225 370.18,-221.7 373.96,-216.86"/>
<polygon fill="midnightblue" stroke="midnightblue" points="377.43,-217.32 375.7,-206.86 370.54,-216.12 377.43,-217.32"/>
<path fill="none" stroke="#63b8ff" d="M321.3,-203.1C318.33,-212.65 327.4,-221 348.5,-221 361.69,-221 370.18,-217.74 373.96,-212.96"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="377.41,-213.55 375.7,-203.1 370.52,-212.34 377.41,-213.55"/>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="441,-176.5 441,-195.5 557,-195.5 557,-176.5 441,-176.5"/>
<text text-anchor="middle" x="499" y="-183.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
<polygon fill="white" stroke="#666666" points="557,-192 441,-192 441,-173 557,-173 557,-192"/>
<text text-anchor="middle" x="499" y="-180" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node13 -->
<g id="edge14" class="edge">
<title>Node12&#45;&gt;Node13</title>
<path fill="none" stroke="midnightblue" d="M405.22,-186C413.62,-186 422.36,-186 430.96,-186"/>
<polygon fill="midnightblue" stroke="midnightblue" points="430.98,-189.5 440.98,-186 430.98,-182.5 430.98,-189.5"/>
<path fill="none" stroke="#63b8ff" d="M405.22,-182.5C413.62,-182.5 422.36,-182.5 430.96,-182.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="430.98,-186 440.98,-182.5 430.98,-179 430.98,-186"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,20 +1,19 @@
<?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 5.0.0 (20220707.1540)
<!-- Generated by graphviz version 5.0.1 (20220820.1526)
-->
<!-- Title: main Pages: 1 -->
<svg width="565pt" height="427pt"
viewBox="0.00 0.00 565.00 427.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 423)">
<svg width="565pt" height="419pt"
viewBox="0.00 0.00 565.00 419.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 415)">
<title>main</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-423 561,-423 561,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Main function.">
<polygon fill="#bfbfbf" stroke="black" points="0,-169.5 0,-188.5 38,-188.5 38,-169.5 0,-169.5"/>
<text text-anchor="middle" x="19" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
<polygon fill="#999999" stroke="#666666" points="38,-185 0,-185 0,-166 38,-166 38,-185"/>
<text text-anchor="middle" x="19" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
@@ -22,250 +21,250 @@
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d5/d8a/trie__using__hashmap_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self&#45;test implementations.">
<polygon fill="white" stroke="black" points="74,-169.5 74,-188.5 107,-188.5 107,-169.5 74,-169.5"/>
<text text-anchor="middle" x="90.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
<polygon fill="white" stroke="#666666" points="107,-185 74,-185 74,-166 107,-166 107,-185"/>
<text text-anchor="middle" x="90.5" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M38.26,-179C46.07,-179 55.31,-179 63.79,-179"/>
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-182.5 73.95,-179 63.95,-175.5 63.95,-182.5"/>
<path fill="none" stroke="#63b8ff" d="M38.26,-175.5C46.07,-175.5 55.31,-175.5 63.79,-175.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.95,-179 73.95,-175.5 63.95,-172 63.95,-179"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ac0bf3d6791cba144b3f539835d835e75" target="_top" xlink:title="delete a word/string from a trie">
<polygon fill="white" stroke="black" points="143,-316.5 143,-357.5 256,-357.5 256,-316.5 143,-316.5"/>
<text text-anchor="start" x="151" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-334.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-323.5" font-family="Helvetica,sans-Serif" font-size="10.00">::delete_word</text>
<polygon fill="white" stroke="#666666" points="256,-351 143,-351 143,-310 256,-310 256,-351"/>
<text text-anchor="start" x="151" y="-339" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-328" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-317" font-family="Helvetica,sans-Serif" font-size="10.00">::delete_word</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M93.04,-188.52C97.21,-211.5 110.61,-270.73 143,-307 143.86,-307.97 144.76,-308.9 145.7,-309.82"/>
<polygon fill="midnightblue" stroke="midnightblue" points="143.52,-312.56 153.41,-316.35 148.04,-307.22 143.52,-312.56"/>
<path fill="none" stroke="#63b8ff" d="M93.12,-185.24C97.38,-208.16 110.86,-266.21 143,-301.5 143.52,-302.07 144.06,-302.64 144.61,-303.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="142.5,-305.99 152.36,-309.87 147.07,-300.69 142.5,-305.99"/>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="172.5,-278.5 172.5,-297.5 226.5,-297.5 226.5,-278.5 172.5,-278.5"/>
<text text-anchor="middle" x="199.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="#666666" points="226.5,-292 172.5,-292 172.5,-273 226.5,-273 226.5,-292"/>
<text text-anchor="middle" x="199.5" y="-280" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<title>Node2&#45;&gt;Node9</title>
<path fill="none" stroke="midnightblue" d="M94.45,-188.65C100.54,-206.96 116.21,-246.87 143,-269 148.72,-273.73 155.68,-277.3 162.72,-280"/>
<polygon fill="midnightblue" stroke="midnightblue" points="161.65,-283.33 172.24,-283.16 163.85,-276.69 161.65,-283.33"/>
<path fill="none" stroke="#63b8ff" d="M94.45,-185.08C100.54,-203.25 116.21,-242.84 143,-264.5 148.61,-269.04 155.39,-272.44 162.26,-274.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="161.68,-278.48 172.27,-278.16 163.79,-271.8 161.68,-278.48"/>
</g>
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#abcae0a4456e7f583ce716e3ef466dfd2" target="_top" xlink:title="insert the string into the trie">
<polygon fill="white" stroke="black" points="143,-218.5 143,-259.5 256,-259.5 256,-218.5 143,-218.5"/>
<text text-anchor="start" x="151" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::insert</text>
<polygon fill="white" stroke="#666666" points="256,-255 143,-255 143,-214 256,-214 256,-255"/>
<text text-anchor="start" x="151" y="-243" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-232" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">::insert</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<title>Node2&#45;&gt;Node10</title>
<path fill="none" stroke="midnightblue" d="M107.2,-188.32C117.37,-194.31 130.91,-202.21 143,-209 145.64,-210.48 148.35,-211.99 151.09,-213.51"/>
<polygon fill="midnightblue" stroke="midnightblue" points="149.45,-216.6 159.9,-218.34 152.82,-210.46 149.45,-216.6"/>
<path fill="none" stroke="#63b8ff" d="M107.24,-184.46C117.42,-190.22 130.96,-197.86 143,-204.5 145.69,-205.99 148.47,-207.51 151.26,-209.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.78,-212.22 160.24,-213.93 153.13,-206.07 149.78,-212.22"/>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ae15fdc7f2b5023992d87a711d78566c4" target="_top" xlink:title="predict/recommend a word that starts with a given prefix">
<polygon fill="white" stroke="black" points="143,-158.5 143,-199.5 256,-199.5 256,-158.5 143,-158.5"/>
<text text-anchor="start" x="151" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-165.5" font-family="Helvetica,sans-Serif" font-size="10.00">::predict_words</text>
<polygon fill="white" stroke="#666666" points="256,-196 143,-196 143,-155 256,-155 256,-196"/>
<text text-anchor="start" x="151" y="-184" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-162" font-family="Helvetica,sans-Serif" font-size="10.00">::predict_words</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<title>Node2&#45;&gt;Node11</title>
<path fill="none" stroke="midnightblue" d="M107.29,-179C114.29,-179 123.04,-179 132.34,-179"/>
<polygon fill="midnightblue" stroke="midnightblue" points="132.58,-182.5 142.58,-179 132.58,-175.5 132.58,-182.5"/>
<path fill="none" stroke="#63b8ff" d="M107.29,-175.5C114.29,-175.5 123.04,-175.5 132.34,-175.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.58,-179 142.58,-175.5 132.58,-172 132.58,-179"/>
</g>
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#ad71eb24207c28b546631802dba97310f" target="_top" xlink:title="search a word/string inside the trie">
<polygon fill="white" stroke="black" points="143,-98.5 143,-139.5 256,-139.5 256,-98.5 143,-98.5"/>
<text text-anchor="start" x="151" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-116.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-105.5" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
<polygon fill="white" stroke="#666666" points="256,-137 143,-137 143,-96 256,-96 256,-137"/>
<text text-anchor="start" x="151" y="-125" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-114" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-103" font-family="Helvetica,sans-Serif" font-size="10.00">::search</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node14 -->
<g id="edge15" class="edge">
<title>Node2&#45;&gt;Node14</title>
<path fill="none" stroke="midnightblue" d="M107.2,-169.68C117.37,-163.69 130.91,-155.79 143,-149 145.64,-147.52 148.35,-146.01 151.09,-144.49"/>
<polygon fill="midnightblue" stroke="midnightblue" points="152.82,-147.54 159.9,-139.66 149.45,-141.4 152.82,-147.54"/>
<path fill="none" stroke="#63b8ff" d="M107.17,-166.12C117.32,-160.11 130.86,-152.2 143,-145.5 145.21,-144.28 147.47,-143.05 149.76,-141.81"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="151.51,-144.84 158.67,-137.03 148.2,-138.67 151.51,-144.84"/>
</g>
<!-- Node15 -->
<g id="node15" class="node">
<title>Node15</title>
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="156,-60.5 156,-79.5 243,-79.5 243,-60.5 156,-60.5"/>
<text text-anchor="middle" x="199.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
<polygon fill="white" stroke="#666666" points="243,-78 156,-78 156,-59 243,-59 243,-78"/>
<text text-anchor="middle" x="199.5" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node15 -->
<g id="edge16" class="edge">
<title>Node2&#45;&gt;Node15</title>
<path fill="none" stroke="midnightblue" d="M94.45,-169.35C100.54,-151.04 116.21,-111.13 143,-89 145.13,-87.24 147.44,-85.63 149.86,-84.18"/>
<polygon fill="midnightblue" stroke="midnightblue" points="151.68,-87.18 159,-79.51 148.5,-80.94 151.68,-87.18"/>
<path fill="none" stroke="#63b8ff" d="M94.45,-165.92C100.54,-147.75 116.21,-108.16 143,-86.5 144.6,-85.21 146.29,-84.01 148.04,-82.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="150.1,-85.77 157.31,-78.01 146.83,-79.58 150.1,-85.77"/>
</g>
<!-- Node16 -->
<g id="node16" class="node">
<title>Node16</title>
<g id="a_node16"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#af3aee573fbabd2c1510c0f74f842dd17" target="_top" xlink:title="search a word/string that starts with a given prefix">
<polygon fill="white" stroke="black" points="143,-0.5 143,-41.5 256,-41.5 256,-0.5 143,-0.5"/>
<text text-anchor="start" x="151" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::startwith</text>
<polygon fill="white" stroke="#666666" points="256,-41 143,-41 143,0 256,0 256,-41"/>
<text text-anchor="start" x="151" y="-29" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="151" y="-18" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="199.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">::startwith</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node16 -->
<g id="edge17" class="edge">
<title>Node2&#45;&gt;Node16</title>
<path fill="none" stroke="midnightblue" d="M93.04,-169.48C97.21,-146.5 110.61,-87.27 143,-51 143.86,-50.03 144.76,-49.1 145.7,-48.18"/>
<polygon fill="midnightblue" stroke="midnightblue" points="148.04,-50.78 153.41,-41.65 143.52,-45.44 148.04,-50.78"/>
<path fill="none" stroke="#63b8ff" d="M93.12,-165.76C97.38,-142.84 110.86,-84.79 143,-49.5 143.52,-48.93 144.06,-48.36 144.61,-47.81"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.07,-50.31 152.36,-41.13 142.5,-45.01 147.07,-50.31"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/back.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="305,-399.5 305,-418.5 392,-418.5 392,-399.5 305,-399.5"/>
<text text-anchor="middle" x="348.5" y="-406.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
<polygon fill="white" stroke="#666666" points="392,-411 305,-411 305,-392 392,-392 392,-411"/>
<text text-anchor="middle" x="348.5" y="-399" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::back</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node3&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M232.71,-357.73C249.88,-368.24 271.62,-380.72 292,-390 296.69,-392.14 301.69,-394.17 306.7,-396.06"/>
<polygon fill="midnightblue" stroke="midnightblue" points="305.66,-399.4 316.26,-399.5 308.03,-392.82 305.66,-399.4"/>
<path fill="none" stroke="#63b8ff" d="M232.23,-351.11C249.45,-361.71 271.38,-374.31 292,-383.5 296.07,-385.31 300.37,-387.03 304.71,-388.64"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="303.6,-391.96 314.2,-391.97 305.92,-385.35 303.6,-391.96"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/pop.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="307.5,-361.5 307.5,-380.5 389.5,-380.5 389.5,-361.5 307.5,-361.5"/>
<text text-anchor="middle" x="348.5" y="-368.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
<polygon fill="white" stroke="#666666" points="389.5,-374 307.5,-374 307.5,-355 389.5,-355 389.5,-374"/>
<text text-anchor="middle" x="348.5" y="-362" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::pop</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node3&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M256.07,-349.85C269.68,-353 284.16,-356.35 297.49,-359.43"/>
<polygon fill="midnightblue" stroke="midnightblue" points="296.89,-362.89 307.42,-361.73 298.47,-356.07 296.89,-362.89"/>
<path fill="none" stroke="#63b8ff" d="M256.07,-343.35C269.68,-346.5 284.16,-349.85 297.49,-352.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="296.89,-356.39 307.42,-355.23 298.47,-349.57 296.89,-356.39"/>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="445,-266.5 445,-285.5 553,-285.5 553,-266.5 445,-266.5"/>
<text text-anchor="middle" x="499" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
<polygon fill="white" stroke="#666666" points="553,-281 445,-281 445,-262 553,-262 553,-281"/>
<text text-anchor="middle" x="499" y="-269" font-family="Helvetica,sans-Serif" font-size="10.00">std::string::pop_back</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<title>Node3&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M256.36,-334.87C297.89,-332.29 355.67,-326.59 405,-314 427.39,-308.28 451.51,-298.31 469.57,-290.01"/>
<polygon fill="midnightblue" stroke="midnightblue" points="471.37,-293.03 478.94,-285.61 468.4,-286.7 471.37,-293.03"/>
<path fill="none" stroke="#63b8ff" d="M256.29,-328.1C297.79,-325.39 355.56,-319.63 405,-307.5 426.85,-302.14 450.48,-292.94 468.45,-285.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="470.07,-288.3 477.81,-281.06 467.24,-281.9 470.07,-288.3"/>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/push.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="305,-285.5 305,-304.5 392,-304.5 392,-285.5 305,-285.5"/>
<text text-anchor="middle" x="348.5" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
<polygon fill="white" stroke="#666666" points="392,-298 305,-298 305,-279 392,-279 392,-298"/>
<text text-anchor="middle" x="348.5" y="-286" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::push</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<title>Node3&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M256.07,-321.12C271.93,-316.59 288.97,-311.72 303.99,-307.43"/>
<polygon fill="midnightblue" stroke="midnightblue" points="305.37,-310.68 314.03,-304.56 303.45,-303.95 305.37,-310.68"/>
<path fill="none" stroke="#63b8ff" d="M256.07,-314.62C271.93,-310.09 288.97,-305.22 303.99,-300.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="305.37,-304.18 314.03,-298.06 303.45,-297.45 305.37,-304.18"/>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/stack/top.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="308.5,-247.5 308.5,-266.5 388.5,-266.5 388.5,-247.5 308.5,-247.5"/>
<text text-anchor="middle" x="348.5" y="-254.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
<polygon fill="white" stroke="#666666" points="388.5,-261 308.5,-261 308.5,-242 388.5,-242 388.5,-261"/>
<text text-anchor="middle" x="348.5" y="-249" font-family="Helvetica,sans-Serif" font-size="10.00">std::stack::top</text>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<title>Node3&#45;&gt;Node8</title>
<path fill="none" stroke="midnightblue" d="M241.13,-316.37C246.23,-313.39 251.31,-310.23 256,-307 273.39,-295.02 273.68,-286.5 292,-276 295.63,-273.92 299.52,-272.02 303.5,-270.29"/>
<polygon fill="midnightblue" stroke="midnightblue" points="304.85,-273.52 312.85,-266.58 302.27,-267.02 304.85,-273.52"/>
<path fill="none" stroke="#63b8ff" d="M242.33,-309.98C247.03,-307.28 251.68,-304.43 256,-301.5 273.47,-289.64 273.68,-281 292,-270.5 295.63,-268.42 299.52,-266.52 303.5,-264.79"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="304.85,-268.02 312.85,-261.08 302.27,-261.52 304.85,-268.02"/>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a xlink:href="../../d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html#a7bbe538c8015e8ce158e7ed43f605ebd" target="_top" xlink:title="helper function to predict/recommend words that starts with a given prefix from the end of prefix&#39;s n...">
<polygon fill="white" stroke="black" points="292,-165.5 292,-206.5 405,-206.5 405,-165.5 292,-165.5"/>
<text text-anchor="start" x="300" y="-194.5" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="300" y="-183.5" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="348.5" y="-172.5" font-family="Helvetica,sans-Serif" font-size="10.00">::get_all_words</text>
<polygon fill="white" stroke="#666666" points="405,-203 292,-203 292,-162 405,-162 405,-203"/>
<text text-anchor="start" x="300" y="-191" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::trie</text>
<text text-anchor="start" x="300" y="-180" font-family="Helvetica,sans-Serif" font-size="10.00">_using_hashmap::Trie</text>
<text text-anchor="middle" x="348.5" y="-169" font-family="Helvetica,sans-Serif" font-size="10.00">::get_all_words</text>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge11" class="edge">
<title>Node11&#45;&gt;Node12</title>
<path fill="none" stroke="midnightblue" d="M256.07,-181.65C264.49,-182.05 273.24,-182.46 281.84,-182.87"/>
<polygon fill="midnightblue" stroke="midnightblue" points="281.69,-186.37 291.85,-183.35 282.02,-179.38 281.69,-186.37"/>
<path fill="none" stroke="#63b8ff" d="M256.07,-178.15C264.49,-178.55 273.24,-178.96 281.84,-179.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="281.69,-182.87 291.85,-179.85 282.02,-175.88 281.69,-182.87"/>
</g>
<!-- Node12&#45;&gt;Node6 -->
<g id="edge13" class="edge">
<title>Node12&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M383.57,-206.65C411.06,-223.31 449.05,-246.34 473.58,-261.2"/>
<polygon fill="midnightblue" stroke="midnightblue" points="471.91,-264.28 482.27,-266.47 475.53,-258.29 471.91,-264.28"/>
<path fill="none" stroke="#63b8ff" d="M383.94,-203.14C411.29,-219.53 448.88,-242.06 473.3,-256.7"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="471.59,-259.75 481.97,-261.89 475.19,-253.75 471.59,-259.75"/>
</g>
<!-- Node12&#45;&gt;Node12 -->
<g id="edge12" class="edge">
<title>Node12&#45;&gt;Node12</title>
<path fill="none" stroke="midnightblue" d="M321.3,-206.86C318.33,-216.54 327.4,-225 348.5,-225 361.69,-225 370.18,-221.7 373.96,-216.86"/>
<polygon fill="midnightblue" stroke="midnightblue" points="377.43,-217.32 375.7,-206.86 370.54,-216.12 377.43,-217.32"/>
<path fill="none" stroke="#63b8ff" d="M321.3,-203.1C318.33,-212.65 327.4,-221 348.5,-221 361.69,-221 370.18,-217.74 373.96,-212.96"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="377.41,-213.55 375.7,-203.1 370.52,-212.34 377.41,-213.55"/>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<polygon fill="white" stroke="black" points="441,-176.5 441,-195.5 557,-195.5 557,-176.5 441,-176.5"/>
<text text-anchor="middle" x="499" y="-183.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
<polygon fill="white" stroke="#666666" points="557,-192 441,-192 441,-173 557,-173 557,-192"/>
<text text-anchor="middle" x="499" y="-180" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node13 -->
<g id="edge14" class="edge">
<title>Node12&#45;&gt;Node13</title>
<path fill="none" stroke="midnightblue" d="M405.22,-186C413.62,-186 422.36,-186 430.96,-186"/>
<polygon fill="midnightblue" stroke="midnightblue" points="430.98,-189.5 440.98,-186 430.98,-182.5 430.98,-189.5"/>
<path fill="none" stroke="#63b8ff" d="M405.22,-182.5C413.62,-182.5 422.36,-182.5 430.96,-182.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="430.98,-186 440.98,-182.5 430.98,-179 430.98,-186"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB