Sort standard library comparison (1 résultats)

- Couverture souple
- impression à la demande
Vendeur : AHA-BUCH GmbH, Einbeck, AllemagneAHA-BUCH GmbH
Contacter le vendeurVendeur avec une évaluation de 5 étoilesEtat: Neuf
EUR 123,17
EUR 35,00 expéditionExpédition depuis Allemagne vers Etats-UnisQuantité disponible : 1 disponible
Taschenbuch. Etat : Neu. nach der Bestellung gedruckt Neuware - Printed after ordering - Please note that the content of this book primarily consists of articlesavailable from Wikipedia or other free sources online. sort is afunction in C++ Standard Library that takes two random-access iteratorsthe start and the end, as arguments and performs a comparison sort onthe range of elements between the two iterators, front-inclusive andend-exclusive. The specific sorting algorithm is not mandated and mayvary across implementations. The GNU Standard C++ library, for exampleuses a hybrid sorting algorithm: introsort is performed first, to amaximum depth given by 2×log2 n, where n is the number of elementsfollowed by an insertion sort on the result. Whatever theimplementation, the complexity should be O(n log n) comparisons on theaverage.…