Skip to content

Commit

Permalink
Update is_sorted_until.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-arelli authored Jul 1, 2020
1 parent 5f30574 commit 3f6047c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion algorithm/is_sorted_until.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<p><strong>Description:</strong>std::is_sorted_until is used to find out the first unsorted element in the range [first, last). It returns an iterator to the first unsorted element in the range, so all the elements in between first and the iterator returned are sorted.</p>

<h6>Example:</h6>
,,,c+
#include <iostream>
#include <algorithm>
Expand All @@ -20,7 +21,7 @@
<< "the list and the first unsorted element is " << *ip;
return 0;
}
,,,
,,,

<br>
<h3><a href="https://rextester.com/NLRDYA45690">RUN CODE</a><h3>

0 comments on commit 3f6047c

Please sign in to comment.