Templated Quicksort C/C++ script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: ShowZip.asp?lngWId=3&lngCodeId=6256&strZipAccessCode=tp%2F%5E62569451
  • Last update:
  • Platform: Windows
  • Language: C/C++
  • Price:Freeware
  • Company: NDawg (View more)

Templated Quicksort script description:




Publisher review:
Templated Quicksort is a quicksort algorithm which can be used with any data type that can make use of the < operator. This is a quicksort algorithm which can be used with any data type that can make use of the < operator. You pass in a vector of the data type and the algorithm sorts it.

The algorithm works by splitting the vector into 2 (hopefully) equal parts. It recursively does this until the 2 parts are so small that determining which part goes where becomes a trivial matter. After the vector is split and sorted, they are combined to for the original, in sorted order.

This algorithm will sort in ascending order regardless of data type (assuming the < operator is functioning properly). This algorithm is notan in place algorithm. It will use exponentially large amounts of memory as the amount of values in the vector increase. Also note that this algorithm has an O(n^2) worst case complexity and must assumed for all production purposes.
Templated Quicksort is a C/C++ script for Polls and Voting scripts design by NDawg. It runs on following operating system: Windows.

Operating system:
Windows

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5