diff --git a/algorithm/is_sorted_until.md b/algorithm/is_sorted_until.md index 3ad944c2..e9b6e30d 100644 --- a/algorithm/is_sorted_until.md +++ b/algorithm/is_sorted_until.md @@ -1,9 +1,10 @@

is_sorted_until

Description: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.

-
Example:
+ +**Example** : - ,,,cpp +```cpp #include #include @@ -21,7 +22,7 @@ << "the list and the first unsorted element is " << *ip; return 0; } - ,,, +```

RUN CODE