Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp check if vector sorted

bool sorted = std::is_sorted(vect.begin(), vect.end());
 
PREVIOUS NEXT
Tagged: #cpp #check #vector #sorted
ADD COMMENT
Topic
Name
6+4 =