Hi. Does anyone recognize this sort algorithm?
BOOL swap;
tagFileNode* TempNode;
int i, j, diff = 0;
for (j = _NodeCount / 2; j > 0; j /= 2)
{
swap = true;
while (swap)
{
swap = false;
for (i = 0; i + j < _NodeCount; ++i)
{
if (compare(_NodeList[i...
- Alex Sokolek
- Thread
-
algorithm
bubble sort
c programming
code
computer science
data structure
merge sort
performance
programming help
sorting
- Replies: 5
- Forum: Windows Software