mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-13 14:39:47 +08:00
104 lines
4.5 KiB
XML
104 lines
4.5 KiB
XML
<?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 12.1.1 (20240910.0053)
|
|
-->
|
|
<!-- Title: backtracking::subarray_sum::subarray_sum Pages: 1 -->
|
|
<svg width="283pt" height="113pt"
|
|
viewBox="0.00 0.00 283.00 113.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
|
|
|
<style type="text/css"><![CDATA[
|
|
.node, .edge {opacity: 0.7;}
|
|
.node.selected, .edge.selected {opacity: 1;}
|
|
.edge:hover path { stroke: red; }
|
|
.edge:hover polygon { stroke: red; fill: red; }
|
|
]]></style>
|
|
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
|
<svg id="graph" class="graph">
|
|
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 109.25)">
|
|
<title>backtracking::subarray_sum::subarray_sum</title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title="The main function that implements the count of the subarrays.">
|
|
<polygon fill="#999999" stroke="#666666" points="115,-67.88 0,-67.88 0,-37.38 115,-37.38 115,-67.88"/>
|
|
<text text-anchor="start" x="8" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00">backtracking::subarray</text>
|
|
<text text-anchor="middle" x="57.5" y="-43.12" font-family="Helvetica,sans-Serif" font-size="10.00">_sum::subarray_sum</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="Node000002" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="275,-105.25 151,-105.25 151,-86 275,-86 275,-105.25"/>
|
|
<text text-anchor="middle" x="213" y="-91.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node2 -->
|
|
<g id="edge1_Node000001_Node000002" class="edge">
|
|
<title>Node1->Node2</title>
|
|
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M114.35,-68.27C131.07,-72.95 149.21,-78.04 165.28,-82.54"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="163.99,-85.81 174.57,-85.14 165.88,-79.07 163.99,-85.81"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="Node000003" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="264.12,-67.88 161.88,-67.88 161.88,-37.38 264.12,-37.38 264.12,-67.88"/>
|
|
<text text-anchor="start" x="169.88" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
|
<text text-anchor="middle" x="213" y="-43.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node3 -->
|
|
<g id="edge2_Node000001_Node000003" class="edge">
|
|
<title>Node1->Node3</title>
|
|
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M115.22,-52.62C126.62,-52.62 138.66,-52.62 150.22,-52.62"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="150.07,-56.13 160.07,-52.63 150.07,-49.13 150.07,-56.13"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="Node000004" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="256.25,-19.25 169.75,-19.25 169.75,0 256.25,0 256.25,-19.25"/>
|
|
<text text-anchor="middle" x="213" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node4 -->
|
|
<g id="edge3_Node000001_Node000004" class="edge">
|
|
<title>Node1->Node4</title>
|
|
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M114.35,-36.98C131.07,-32.3 149.21,-27.21 165.28,-22.71"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="165.88,-26.18 174.57,-20.11 163.99,-19.44 165.88,-26.18"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
</g>
|
|
</svg>
|
|
</svg>
|
|
|
|
<style type='text/css'>
|
|
<![CDATA[
|
|
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
|
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
|
]]>
|
|
</style>
|
|
<script type="application/ecmascript"><![CDATA[
|
|
document.addEventListener('DOMContentLoaded', (event) => {
|
|
highlightEdges();
|
|
highlightAdjacentNodes();
|
|
});
|
|
]]></script>
|
|
</svg>
|