in reply to A proper name for is_sorted function that can check more than just sorting order?
As far as I understand you are testing the condition for all pairs ( a=set[i], b=set[i+1] )
That is you are testing all n-1 links / neighboring pairs, correct?
This should be reflected by the name
What about something like
Using the word "link" hints also to "linked lists" a data structure closely related to arrays.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
Expanded list
|
---|