mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-24 13:53:35 +08:00
Documentation for f7a5aecce5
This commit is contained in:
@@ -140,7 +140,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_md59"></a>
|
||||
<h3><a class="anchor" id="autotoc_md60"></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>
|
||||
|
||||
Reference in New Issue
Block a user