Documentation for 0fea073413
@@ -147,7 +147,7 @@ Functions</h2></td></tr>
|
||||
<li>Capitalize zero or more of <code>a</code>'s lowercase letters.</li>
|
||||
<li>Delete all of the remaining lowercase letters in <code>a</code>.</li>
|
||||
</ol>
|
||||
<h3><a class="anchor" id="autotoc_md66"></a>
|
||||
<h3><a class="anchor" id="autotoc_md67"></a>
|
||||
Algorithm</h3>
|
||||
<p >The idea is in the problem statement itself: iterate through characters of string <code>a</code> and <code>b</code> (for character indexes <code>i</code> and <code>j</code> respectively):</p><ol type="1">
|
||||
<li>If <code>a[i]</code> and <code>b[j]</code> are equal, then move to next position</li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 6.0.1 (20220911.1526)
|
||||
<!-- Generated by graphviz version 6.0.2 (20221011.1828)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<svg width="161pt" height="27pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 6.0.1 (20220911.1526)
|
||||
<!-- Generated by graphviz version 6.0.2 (20221011.1828)
|
||||
-->
|
||||
<!-- Title: dynamic_programming::abbreviation::abbreviation_recursion Pages: 1 -->
|
||||
<svg width="262pt" height="74pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 6.0.1 (20220911.1526)
|
||||
<!-- Generated by graphviz version 6.0.2 (20221011.1828)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="235pt" height="27pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 6.0.1 (20220911.1526)
|
||||
<!-- Generated by graphviz version 6.0.2 (20221011.1828)
|
||||
-->
|
||||
<!-- Title: dynamic_programming::abbreviation::abbreviation Pages: 1 -->
|
||||
<svg width="268pt" height="64pt"
|
||||
|
||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |