Skip to content

Commit

Permalink
Merge pull request #259 from kellybelly/master
Browse files Browse the repository at this point in the history
fix typos in algorithms slides
  • Loading branch information
Brenda Jin committed Jul 24, 2016
2 parents 55570c5 + 6298fec commit 7174bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ <h2>Binary Search: Steps</h2><br>
<ul>
<li>Pick the middle element of the array <em>m</em> and compare it to <em>e</em>.
<li>If element values are equal, then return index of <em>m</em>.
<li>If <em>e</em> is greater than me, then <em>e</em> must be in left subarray. If <en>m</en> is greater than <em>e</em>, <em>e</em> must be in the right subarray.
<li>If <em>e</em> is greater than <em>m</em>, then <em>e</em> must be in left subarray. If <em>m</em> is greater than <em>e</em>, then <em>e</em> must be in the right subarray.
</ul>
<li>Repeat those steps on new subarray.</li>
</ul>
Expand Down

0 comments on commit 7174bb5

Please sign in to comment.