Free Online Dictionary
|Wikipedia English The Free Encyclopedia||Download this dictionary|
sort is a function in C++ Standard Library that takes two random-access iterators, the start and the end, as arguments and performs a comparison sort on the range of elements between the two iterators, front-inclusive and end-exclusive. The specific sorting algorithm is not mandated and may vary across implementations. The GNU Standard C++ library, for example, uses a hybrid sorting algorithm: introsort is performed first, to a maximum depth given by 2×log2 n, where n is the number of elements, followed by an insertion sort on the result. Whatever the implementation, the complexity should be O(n log n) comparisons on the average.
|See more at Wikipedia.org...|
The following video provides you with the correct English pronunciation of the word "Sort (C++)", to help you become a better English speaker.
© This article uses material from Wikipedia® and is licensed under the GNU Free Documentation License and under the Creative Commons Attribution-ShareAlike License
| Sort (C++) in English
You think you have ethics... Take the survey NOW!