Stay up to dateembedded code automagically updates, each snippet and article has a feed
Algorithms
##### Keywords
 cycle detection (2) divide and conquer (2) algorithm (2) sort (2) random (1) .Net (1) joke (1) C# (1) longest common subsequence (1) lcs (1) bogosort (1) prng (1) floyd (1) factorization (1) quicksort (1) bogo (1) tortoise and hare (1) Random (1) HEP (1) insertion sort (1)
##### Users
 Stou S. (6) David Isaacson (2) Michael Case (1) Spencer Ruport (1) Theodore Test (1)
 Showing 1 - 10 of 11 1 Showing 1 - 10 of 11
BogoSort is a highly ineffective algorithm notable only for its comedic value....
+6
Insertion Sort is a blissfully simple algorithm that is painfully inefficient for large arrays. It operates in place and with relative efficiency compared to several more complicated (read: better)...
+3
Quicksort is a fast, recursive, divide and conquer algorithm developed by Charles Antony Richard Hoare. It is believed to be the fastest sorting algorithm, in practice [Weiss1999]....
+2
The Wichmann-Hill algorithm is a three seed pseudo-random number generator. The algorithm generates numbers between 0.0 and 1.0 with a cycle of . According to [Bevington] the algorithm is free of...
+1
This sorting algorithm performs multiple passes over a list, comparing consecutive elements. If the two elements are out of order, they are swapped. This continues until a pass shows all elements...
+1
Find a longest common subsequence between two sequences.
I'm not exactly sure what it was used for but someone asked how to do this on another site and I thought it was an interesting question....
How do you determine if your singly-linked list has a cycle? In the late 1960s, Robert W. Floyd invented an algorithm that worked in linear (O(N)) time. It is also called Floyd's cycle detection...
Mergesort is a simple divide and conquer sorting algorithm. It works by recursively splitting an unsorted array into two sub-arrays then merging the sorted results....
Worst sorting algorithm... ever. It repeatedly checks if the array is sorted hoping that cosmic rays will change the numbers enough for them to appear in order....
 Showing 1 - 10 of 11 1 Showing 1 - 10 of 11