summaryrefslogtreecommitdiff
path: root/sorting.c
AgeCommit message (Collapse)Author
2024-04-24Add is_sortedDominik Kaiser
2024-04-24Make norminette happy and some more error handlingDominik Kaiser
2024-04-24Norminette formattingDominik Kaiser
2024-04-17Finally fix sortingDominik Kaiser
Unfortunately the performance is not good right now, but this should be rather easy to fix.
2024-04-17Change sorting direction (still not fully working)Dominik Kaiser
Somehow the 0 is still not sorted and in some cases 1 as well. TODO: Fix this
2024-04-17Add movement (with some bugs)Dominik Kaiser
TODO: Fix sorting direction. Right now the numbers are sorted max -> min instead of min -> max. TODO: Fix sorting bug. Some numbers are not sorted.
2024-04-17Add score calculationDominik Kaiser
2024-04-17Add presortingDominik Kaiser
All entries that are not in order will be pushed into b. If the entry is larger than our pivot, it will be pushed to the bottom, else the top of b.
2024-04-16Simplify arguments into t_psdataDominik Kaiser
2024-04-16Revert "Add inefficient quicksort? algorithm"Dominik Kaiser
This reverts commit f421b2dcf9a5d12655e48f4a06f35f17e785fb0f.
2024-04-16Add inefficient quicksort? algorithmDominik Kaiser
This algorithm is based on quicksort but probably not really in its spirit. It is extremely inefficient but could maybe fixed with some post-optimization.
2024-04-15Change stacks from linked lists to rotating arraysDominik Kaiser
2024-04-13Create function for step-by-step sortingDominik Kaiser
2024-04-13Add cmd optimizationDominik Kaiser
After the sorting algorithm was executed remove unneccessary commands.
2024-04-13Add radixsortDominik Kaiser
2024-04-13Add sorting function (without any sorting yet)Dominik Kaiser